Above is presented a case where I have only 512 MB of physical memory. What I have read up so far, is that ZONE_NORMAL is mapped to the kernel virtual address space as shown. Essentially I have a 512 MB physical memory, out of which 496 MB worth of ZONE_NORMAL is mapped to the kernel virtual space. Based on this understanding, following are my question:
- Does, ZONE_NORMAL consists of only kernel space pages ?
- If ZONE_NORMAL consists only of kernel pages and is mapped completely to the kernel space virtual address range, where do the user space pages get located ?? There does not seem to be any room for user space pages in physical memory.
I am totally mixed up of the case where the physical memory is less than 4GB as shown in this case that I have put forth.
Would really appreciate if someone can throw light on this.