How does the linux kernel manage less than 1GB physical memory ?
Posted
by
TheLoneJoker
on Stack Overflow
See other posts from Stack Overflow
or by TheLoneJoker
Published on 2010-12-24T22:28:41Z
Indexed on
2010/12/24
22:54 UTC
Read the original article
Hit count: 462
I'm learning the linux kernel internals and while reading "Understanding Linux Kernel", quite a few memory related questions struck me. One of them is, how the Linux kernel handles the memory mapping if the physical memory of say only 512 MB is installed on my system.
As I read, kernel maps 0(or 16) MB-896MB physical RAM into 0xC0000000 linear address and can directly address it. So, in the above described case where I only have 512 MB:
- How can the kernel map 896 MB from only 512 MB ?
- What about user mode processes in this situation?
- Where are user mode processes in phys RAM?
- Every article explains only the situation, when you've installed 4 GB of memory and the kernel maps the 1 GB into kernel space and user processes uses the remaining amount of RAM.
I would appreciate any help in improving my understanding.
Thanks..!
© Stack Overflow or respective owner