RE: Problem with accessing page tables

From: Ameya Mitragotri <ameya.mitragotri_at_wipro.com>
Date: 2003-11-08 18:57:02
>   Ameya> One of the checks below fails because the call 
> pmd_offset gives pmd 
>   Ameya> With value o.
> 
> That means the PTE directory hasn't been allocated yet.  
> Perfectly normal for memory that hasn't been accessed yet.

We passed the address of swapper_pg_dir and this is what we got.

Nov  8 12:29:35 i2 kernel: The swapper_pg_dir address is
a0000001008d6000
Nov  8 12:29:35 i2 kernel: The pgd offset is 280 address of pgd entry is
a0000001008d6000 value @ pgd entry is 2146033664
Nov  8 12:29:35 i2 kernel: The pmd offset is 201 pmd address is
e00000007fe9f008
value @ pmd is 0

Now I think the memory for the swapper_pg_dir has already been
allocated.
I still get PMD as 0.

Am I doing something fundamentally wrong?

Thanks
ameya
-
To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Received on Sat Nov 8 02:58:59 2003

This archive was generated by hypermail 2.1.8 : 2005-08-02 09:20:20 EST