From mboxrd@z Thu Jan 1 00:00:00 1970 From: riel@surriel.com (Rik van Riel) Date: Tue, 13 Sep 2011 11:30:19 -0400 Subject: Paging of Kernel Memory In-Reply-To: References: Message-ID: <4E6F770B.4060101@surriel.com> To: kernelnewbies@lists.kernelnewbies.org List-Id: kernelnewbies.lists.kernelnewbies.org On 09/07/2011 12:41 AM, Mulyadi Santosa wrote: > Hi :) > > On Wed, Sep 7, 2011 at 09:44, ashish anand wrote: >> Hi >> 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.