Thread (3 messages) 3 messages, 3 authors, 2011-09-13

Paging of Kernel Memory

From: riel@surriel.com (Rik van Riel)
Date: 2011-09-13 15:30:19

On 09/07/2011 12:41 AM, Mulyadi Santosa wrote:
Hi :)

On Wed, Sep 7, 2011 at 09:44, ashish anand[off-list ref]  wrote:
quoted
Hi
on wed 7th sep  Christopher Harvey wrote
quoted
quoted
It means that it can't be swapped to your swap partition, even if
you're not using it.
  this thing I understood it pretty well but what about the line
"Therefore, every byte of
  memory you consume is one less byte of available physical memory".What is
the meaning of this line and why it is so.
could you please next time cut out the unrelated message? :)

Anyway, that passage means that the bigger your kernel image is, the
lesser your free memory are. This is simply because your kernel image
is entirely loaded and locked in RAM.
This was a concern back in the day where systems had 4MB of
RAM and the kernel took up 1MB.

However, nowadays the kernel takes up a few MB in a system
with several GB of memory, so it really no longer matters...

-- 
All rights reversed.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help