[lkml]   [2011]   [Jul]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH 2/5] hugetlb: add phys addr to struct huge_bootmem_page
On Thu, Jun 30, 2011 at 1:50 PM, Becky Bruce <> wrote:

> Because there was no bootmem allocation in the normal case - the non-highmem
> version stores data structure in the huge page itself.  This is perfectly fine as long
> as you have a mapping.  Since this isn't true for HIGHMEM pages, I allocate
> bootmem to store the early data structure that stores information about the
> hugepage (this happens in arch-specific code in alloc_bootmem_huge_page).

I would put this text in a comment in the code.

Timur Tabi
Linux kernel developer at Freescale
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2011-07-24 18:51    [W:0.043 / U:4.740 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site