Re: Physical page allocation for the kernel

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello Rithin,

Saturday, April 10, 2004, 2:59:07 PM, you wrote:

RKS> Hi,
RKS>     I have question regarding the physical memory allocation for the
RKS> kernel code and data. During the initialization of the system, the
RKS> kernel page tables are created and a one to one mapping of the linear
RKS> addresses starting from (0xC0000000)to the physical addresses(starting
RKS> at 0x00000000, correct me if I'm wrong)is created. My question is will
RKS> these pages always be in memory ?

If i understand you correctly, yes... Say kernel is 2 MB. Then it begins 0xC010_0000 and ends
0xC030_0000. It maps to physical 0x0010_0000 - 0x0030_0000 addr range. This pages always in mem, never swapped...

-- 
Bora Sahin
borasahin.port5.com


--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux