diff options
author | Naoya Horiguchi <[email protected]> | 2010-09-08 10:19:33 +0900 |
---|---|---|
committer | Andi Kleen <[email protected]> | 2010-10-08 09:32:44 +0200 |
commit | bf50bab2b34483316162443587b8467952e07730 (patch) | |
tree | d142f7427c6b82e11ff9333bf507aa24b9525e3e /net/unix/af_unix.c | |
parent | 998b4382c1d75a6fd3b0e334dae3ab33bd074d99 (diff) |
hugetlb: add allocate function for hugepage migration
We can't use existing hugepage allocation functions to allocate hugepage
for page migration, because page migration can happen asynchronously with
the running processes and page migration users should call the allocation
function with physical addresses (not virtual addresses) as arguments.
ChangeLog since v3:
- unify alloc_buddy_huge_page() and alloc_buddy_huge_page_node()
ChangeLog since v2:
- remove unnecessary get/put_mems_allowed() (thanks to David Rientjes)
ChangeLog since v1:
- add comment on top of alloc_huge_page_no_vma()
Signed-off-by: Naoya Horiguchi <[email protected]>
Acked-by: Mel Gorman <[email protected]>
Signed-off-by: Jun'ichi Nomura <[email protected]>
Reviewed-by: Christoph Lameter <[email protected]>
Signed-off-by: Andi Kleen <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions