Paging of Kernel Memory
Rik van Riel
riel at surriel.com
Tue Sep 13 11:30:19 EDT 2011
On 09/07/2011 12:41 AM, Mulyadi Santosa wrote:
> Hi :)
> On Wed, Sep 7, 2011 at 09:44, ashish anand<ashishanand26cs at gmail.com> wrote:
>> on wed 7th sep Christopher Harvey wrote
>>>> 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.
More information about the Kernelnewbies