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 alloc
On Jul 21, 2011, at 5:44 PM, Andrew Morton wrote:
> On Tue, 28 Jun 2011 14:54:45 -0500
> Becky Bruce wrote:
>
>> From: Becky Bruce
>>
>> This is needed on HIGHMEM systems - we don't always have a virtual
>> address so store the physical address and map it in as needed.
>>
>> Signed-off-by: B
On Tue, 28 Jun 2011 14:54:45 -0500
Becky Bruce wrote:
> From: Becky Bruce
>
> This is needed on HIGHMEM systems - we don't always have a virtual
> address so store the physical address and map it in as needed.
>
> Signed-off-by: Becky Bruce
> ---
> include/linux/hugetlb.h |3 +++
> mm/hu
On Jun 28, 2011, at 4:39 PM, Benjamin Herrenschmidt wrote:
> On Tue, 2011-06-28 at 14:54 -0500, Becky Bruce wrote:
>> struct page *alloc_huge_page_node(struct hstate *h, int nid);
>> diff --git a/mm/hugetlb.c b/mm/hugetlb.c
>> index 6402458..2db81ea 100644
>> --- a/mm/hugetlb.c
>> +++ b/mm/hugetl
On Tue, 2011-06-28 at 14:54 -0500, Becky Bruce wrote:
> struct page *alloc_huge_page_node(struct hstate *h, int nid);
> diff --git a/mm/hugetlb.c b/mm/hugetlb.c
> index 6402458..2db81ea 100644
> --- a/mm/hugetlb.c
> +++ b/mm/hugetlb.c
> @@ -1105,8 +1105,14 @@ static void __init
> gather_bootmem_pr
From: Becky Bruce
This is needed on HIGHMEM systems - we don't always have a virtual
address so store the physical address and map it in as needed.
Signed-off-by: Becky Bruce
---
include/linux/hugetlb.h |3 +++
mm/hugetlb.c|8 +++-
2 files changed, 10 insertions(+), 1 d