public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* kernel page table mapping for >1GB <3 GB for x86 arch without PAE
@ 2009-08-28 18:08 joe Shmoe
  2009-08-28 18:12 ` Roland Dreier
  0 siblings, 1 reply; 14+ messages in thread
From: joe Shmoe @ 2009-08-28 18:08 UTC (permalink / raw)
  To: linux-kernel

Assuming I have 3GB RAM, why does not kernel create page tables in a way that all of this 3GB physical memory can be addressed . (for x86 arch 32 bit with PAE disabled )

I understand the 3GB/1GB split for user/kernel address space.Isn't  this just a matter of setting up the page table entries in such a way that so all the available RAM upto 3GB can mapped in the kernel page tables. In this way CPU's MMU can take care of mapping any virtual address within first 4GB to physical address using the page table entries regardless of a process is in kernel/user mode. 

Why can't some of first 768 page directory entries ( + 1024 page table 
entries for each PDE) be used to map btw 1GB and 3GB. What is stopping the kernel from doing this?

Instead why does kernel uses high memory mapping with zone model for 
addressing physical memory above 1GB?

Can anyone please shed some light into this,


Thanks,


      

^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2009-08-29 14:40 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-08-28 18:08 kernel page table mapping for >1GB <3 GB for x86 arch without PAE joe Shmoe
2009-08-28 18:12 ` Roland Dreier
2009-08-28 18:40   ` joe Shmoe
2009-08-28 19:13     ` Valdis.Kletnieks
2009-08-28 19:44       ` joe Shmoe
2009-08-28 19:53         ` Alan Cox
2009-08-28 20:23           ` joe Shmoe
2009-08-28 22:16             ` Alan Cox
2009-08-29  0:20               ` joe Shmoe
2009-08-29 13:05                 ` Alan Cox
2009-08-29 14:40               ` joe Shmoe
2009-08-28 21:07           ` joe Shmoe
2009-08-28 22:11             ` Alan Cox
2009-08-28 19:49     ` Roland Dreier

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox