Re: [PATCH 2/8] hugetlb: add allocate function for hugepage migration

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Wu Fengguang
Date: Tuesday, August 24, 2010 - 6:29 pm

> +static struct page *alloc_buddy_huge_page_node(struct hstate *h, int nid)

One would expect the alloc_buddy_huge_page_node() to only differ with
alloc_buddy_huge_page() in the alloc_pages/alloc_pages_exact_node
calls. However you implement alloc_buddy_huge_page_node() in a quite
different way. Can the two functions be unified at all?

Thanks,
Fengguang
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH 0/8] Hugepage migration (v3), Naoya Horiguchi, (Tue Aug 24, 4:55 pm)
[PATCH 3/8] hugetlb: rename hugepage allocation functions, Naoya Horiguchi, (Tue Aug 24, 4:55 pm)
[PATCH 4/8] hugetlb: redefine hugepage copy functions, Naoya Horiguchi, (Tue Aug 24, 4:55 pm)
[PATCH 5/8] hugetlb: hugepage migration core, Naoya Horiguchi, (Tue Aug 24, 4:55 pm)
[PATCH 6/8] HWPOISON, hugetlb: soft offlining for hugepage, Naoya Horiguchi, (Tue Aug 24, 4:55 pm)
[PATCH 7/8] HWPOISON, hugetlb: fix unpoison for hugepage, Naoya Horiguchi, (Tue Aug 24, 4:55 pm)
[PATCH 8/8] page-types.c: fix name of unpoison interface, Naoya Horiguchi, (Tue Aug 24, 4:55 pm)
Re: [PATCH 2/8] hugetlb: add allocate function for hugepag ..., Wu Fengguang, (Tue Aug 24, 6:29 pm)
Re: [PATCH 7/8] HWPOISON, hugetlb: fix unpoison for hugepage, Naoya Horiguchi, (Thu Aug 26, 1:26 am)