P B (deogratias_21@yahoo.com) wrote: > Hello, > > 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 > to disk, or must I explicitly lock the pages in > memory. Also, is the term 'pageable' synonymous with > 'eligible for swapping'. Any help is greatly > appreciated. Thanks. Do you have kmalloc with GFP_KERNEL parameter ?? If it was, I don't think kernel memory could be swapped :-) Perhaps I make a mistake :-( A kernel learner. -- Cordialement/Regards +--------------------------------------------------+ | Christophe Lucas -- IOMEDA SA (clucas@iomeda.fr) | | Developpeur/Administrateur GNU/Linux | +--------------------------------------------------+ | http://titux.tuxfamily.org | +--------------------------------------------------+ -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/