Re: memory used by kernel?

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

 



On Friday 15 October 2004 03:17, Jan Hudec wrote:

> For larger sizes, vmalloc becomes prefered, since it can remap the
> pages, so it will work even if the memory is too fragmented for
> high-order allocation to succeed from gfp.

  vmalloc() is to be used with care. 

  http://lwn.net/Articles/57800/
  http://lwn.net/Articles/57804/

  " There are basically no valid new uses of it. There's a few valid legacy 
users (I think the file descriptor array), and there are some drivers that 
use it (which is crap, but drivers are drivers), and it's _really_ valid only 
for modules. Nothing else."

  Follow links on that page for more info regarding this.

-- 
Regards,
Kiran Kumar Immidi


--
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