[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <46476049.2090806@redhat.com>
Date: Sun, 13 May 2007 15:00:25 -0400
From: Rik van Riel <riel@...hat.com>
To: Rodrigo Amestica <ramestic@...o.edu>
CC: linux-kernel@...r.kernel.org
Subject: Re: is linux still a none swappable kernel?
Rodrigo Amestica wrote:
> In some older posts I have read that memory allocations via kmalloc
> and vmalloc are not swappable, that is, these memory chunks are not
> paged out to swap area. Is this still the case with linux kernel 2.6?
Yes.
Unswappable kernel memory is simpler and faster.
Over the last 15 years, the memory requirements of the
Linux kernel have grown maybe a factor 10, while the
memory of computers has grown by a factor of 1000.
The data structures that grow with memory (mostly the
mem_map[] array of page structs) has actually gotten
smaller since the 2.4 kernel and now takes under 1%
of memory even on x86-64.
There really is no good reason for swapping kernel
memory nowadays.
--
Politics is the struggle between those who want to make their country
the best in the world, and those who believe it already is. Each group
calls the other unpatriotic.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists