Google
  Web www.spinics.net

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


[Newbies FAQ]     [Kernel List]     [Site Home]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Rubini]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Networking]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]     [DDR & Rambus]     [UNIX Filesystems]     [Linux Resources]

Add to Google Powered by Linux