lkml.org 
[lkml]   [2011]   [Jul]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH 2/5] hugetlb: add phys addr to struct huge_bootmem_page
Date
On Thu, Jun 30, 2011 at 1:50 PM, Becky Bruce <beckyb@kernel.crashing.org> 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 majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2011-07-24 18:51    [from the cache]
©2003-2011 Jasper Spaans