Re: "struct page" and allocating high memory

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

 



On 27-04-08 18:44, Robert P. J. Day wrote:

  so what does that comment mean?  it seems to be exactly backwards
from what i'm used to believing.

The comment seems confused yes. alloc_pages() is just the buddy allocator and gets you contiguous pages. For vmalloc() purposes, an array of struct page * is allocated, allocating one page at a time with alloc_page() (in __vmalloc_area_node).

Rene.

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at 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