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 [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[Index of Archives]
[Kernel Newbies]
[Netfilter]
[Bugtraq]
[Photo]
[Stuff]
[Gimp]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Video 4 Linux]
[Linux for the blind]
[Linux Resources]