On Sun, Sep 17, 2000 at 06:42:38PM +0530, [EMAIL PROTECTED] wrote:
> hi everyone,
>
> suppose i allocate some kernel memory in a module by calling kmalloc,
> can that memory be swapped out, for example in AIX even the kernel memory
> which is allocated by rmalloc is swappable!!
No, it isn't swappable. Neither is vmalloc()ed memory. The only
swappable memory (i.e. either paged out to swap area or file) is mmap()ed
memory. (mmap() isn't to be taken too literally, user space doesn't
call mmap() for most of its stuff, but the kernel does call it (or one
of the lower level primitives) for user allocated memory.)
--
Andreas E. Bombe <[EMAIL PROTECTED]> DSA key 0x04880A44
http://home.pages.de/~andreas.bombe/ http://linux1394.sourceforge.net/
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.tux.org/lkml/