Le Tue, 22 Jan 2008 10:31:14 +0100,
"Vegard Nossum" <[EMAIL PROTECTED]> a écrit :
> It allocates two pages and prints out the virtual address of the page
> itself, then the pte_t* of that address. When run, I get this:
>
> pte for c7802000 = c0438c78
> pte for c7803000 = c0438c78
>
> So it seems
On Jan 22, 2008 10:31 AM, Vegard Nossum <[EMAIL PROTECTED]> wrote:
> On Jan 21, 2008 11:43 PM, Vegard Nossum <[EMAIL PROTECTED]> wrote:
> > Hi,
> >
> > I am experiencing something strange about pages and ptes on x86. I am
> > calling alloc_pages() with order = 1 (should be 2 pages). This returns
>
Hi All,
I want to print current date and time in a kernel module.
1) do we have direct functions that we could use in kernel?
2) Can get time from epoch using gettimeofday? So, how do I convert
it to the current date and time string. Is there something similar to
userspace
On Jan 21, 2008 11:43 PM, Vegard Nossum <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I am experiencing something strange about pages and ptes on x86. I am
> calling alloc_pages() with order = 1 (should be 2 pages). This returns
> a struct page with virtual address c780 (returned by
> page_address()). N
Hi..
On Jan 22, 2008 5:43 AM, Vegard Nossum <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I am experiencing something strange about pages and ptes on x86. I am
> calling alloc_pages() with order = 1 (should be 2 pages). This returns
> a struct page with virtual address c780 (returned by
> page_address(
Hi,
Le Mon, 21 Jan 2008 23:43:47 +0100,
"Vegard Nossum" <[EMAIL PROTECTED]> a écrit :
> I am experiencing something strange about pages and ptes on x86. I am
> calling alloc_pages() with order = 1 (should be 2 pages). This returns
> a struct page with virtual address c780 (returned by
> page_
Hi,
I am experiencing something strange about pages and ptes on x86. I am
calling alloc_pages() with order = 1 (should be 2 pages). This returns
a struct page with virtual address c780 (returned by
page_address()). Now I call lookup_address() on the same address, and
the pte is located at c043