Re: dynamic memory allocation and swapping

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Thanks for your help. That pretty much explains
everything.

-Peter

--- Seth Arnold <sarnold@wirex.com> wrote:
> 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 part 2 application/pgp-signature 



__________________________________
Do you Yahoo!?
Yahoo! Calendar - Free online calendar with sync to Outlook(TM).
http://calendar.yahoo.com
--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/



[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux