Re: [PATCH 2/5] hugetlb: add phys addr to struct huge_bootmem_page
From: Tabi Timur-B04825 <hidden>
Date: 2011-07-24 16:48:24
Also in:
lkml
From: Tabi Timur-B04825 <hidden>
Date: 2011-07-24 16:48:24
Also in:
lkml
On Thu, Jun 30, 2011 at 1:50 PM, Becky Bruce [off-list ref] w= rote:
Because there was no bootmem allocation in the normal case - the non-high=
mem
version stores data structure in the huge page itself. =A0This is perfect=
ly fine as long
as you have a mapping. =A0Since this isn't true for HIGHMEM pages, I allo=
cate
bootmem to store the early data structure that stores information about t=
he
hugepage (this happens in arch-specific code in alloc_bootmem_huge_page).
I would put this text in a comment in the code. --=20 Timur Tabi Linux kernel developer at Freescale=