On Thu, Jun 12, 2003 at 09:16:58AM -0700, P B wrote: > When allocating memory with kernel functions such > as kmalloc, vmalloc, and __get_free_page(s), do these > functions return memory (or pages in the case of > _get_free_page(s)) that is not eligible for swapping You're correct -- memory allocated in the kernel is not eligable for swapping (aka "pageable"). It is already pinned into physical memory. (Note that this is irrespective of the GFP_ flags you may use; GFP_USER simply means that the process may sleep when acquiring the memory.) -- http://sardonix.org/
Attachment:
pgp00446.pgp
Description: PGP signature