Re: Physical page allocation for the kernel

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

 



<quote sender="Bora ?ahin">
> 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...

I heard for some versions 2.4.x[?], it is swapable. Can someone clarify this?

Eugene

> 
> -- 
> 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/
> 
> 

-- 
Eugene TEO -  <eugeneteo%null!cc!uic!edu> <http://www.anomalistic.org/>
1024D/14A0DDE5 print D851 4574 E357 469C D308  A01E 7321 A38A 14A0 DDE5
main(i) { putchar(182623909 >> (i-1) * 5&31|!!(i<7)<<6) && main(++i); }


--
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