Skip to contentSkip to conversation

Plzz help me regarding HIGHMEM (PAE) confusion in Linux-2.4 ???

DISCUSSION Fawad Lateef 2 participants 2 messages Dec 9, 2004 Memory management

lore
Share & tools
lore
#0 lore raw

I m confused with that how the kernel access highmem through PAE. I know that kmap related functions do that but when I saw what they do, I got to know that they are just setting PTE according to already created slot of pagetable.

But as far as I understand from Intel's IA32 System Programmer manual, due to linear address limit of 32bit we can't access more than 4GB from a single process, and for above 4GB cr3 must be loaded with the new PGD values so that the linear address of 32bits can then access the other 4GB (4GB to 8GB) and for every every 4GB till 64GB.

Now the kernel is using the pagetables for kmaps hav PGD entry for accessing starting 4GB, but how it goes beyond that ?

Plzz explain me !!!!!

Thanks

Fawad Lateef

__________________________________
Do you Yahoo!?
Take Yahoo! Mail with you! Get it on your mobile phone.
http://mobile.yahoo.com/maildemo
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"[email protected]"> [email protected] </a>

#1 lore raw
Quoted 3 lines · Fawad Lateef

Now the kernel is using the pagetables for kmaps hav PGD entry for accessing starting 4GB, but how it goes beyond that ?

Only %cr3 is restricted to 32-bit physical addresses. The entries in the pgd's, pmd's, and pte's themselves are all 36-bit physical addresses.

-- wli
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"[email protected]"> [email protected] </a>