Describing Physical RAM Map to Linux
Hi,
I have a very basic question -- When describing physical memory to the kernel inprom_init(), should we describe the physical memory region where kernel is loaded or leave it out? We are using add_memory_region() call to describe physical memory to the kernel. If we do describe the memory region where kernel is loaded, how will kernel know not to use these pages for User processes?
We are using 2.6.16 on Cavium/Octeon based platform.
Thanks,
JJ
---------------------------------
Don't get soaked. Take a quick peek at the forecast
with theYahoo! Search weather shortcut.
Quoted 2 lines · h h
I have a very basic question -- When describing physical memory to the kernel in
prom_init(), should we describe the physical memory region where kernel is loaded or leave it out? We are usingadd_memory_region()call to describe physical memory to the kernel. If we do describe the memory region where kernel is loaded, how will kernel know not to use these pages for User processes?
The kernel does this automatically.
Quoted 1 line
We are using 2.6.16 on Cavium/Octeon based platform.
Which atm are only supported by Cavium's proprietary version of Linux ...
Ralf