diff options
author | Andrea Arcangeli <aarcange@redhat.com> | 2011-01-13 18:46:46 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2011-01-13 20:32:41 -0500 |
commit | bae9c19bf12bb2a914a8e530270f41d36cc87c63 (patch) | |
tree | 19807de9c2cb9b47fa842a549bd8c2c21579e323 /mm/mempolicy.c | |
parent | e7a00c45f29c0155007aa150bf231a70fa470365 (diff) |
thp: split_huge_page_mm/vma
split_huge_page_pmd compat code. Each one of those would need to be
expanded to hundred of lines of complex code without a fully reliable
split_huge_page_pmd design.
Signed-off-by: Andrea Arcangeli <aarcange@redhat.com>
Acked-by: Rik van Riel <riel@redhat.com>
Acked-by: Mel Gorman <mel@csn.ul.ie>
Signed-off-by: Johannes Weiner <hannes@cmpxchg.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/mempolicy.c')
-rw-r--r-- | mm/mempolicy.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/mm/mempolicy.c b/mm/mempolicy.c index e6d351265aed..83b7df309fc4 100644 --- a/mm/mempolicy.c +++ b/mm/mempolicy.c | |||
@@ -514,6 +514,7 @@ static inline int check_pmd_range(struct vm_area_struct *vma, pud_t *pud, | |||
514 | pmd = pmd_offset(pud, addr); | 514 | pmd = pmd_offset(pud, addr); |
515 | do { | 515 | do { |
516 | next = pmd_addr_end(addr, end); | 516 | next = pmd_addr_end(addr, end); |
517 | split_huge_page_pmd(vma->vm_mm, pmd); | ||
517 | if (pmd_none_or_clear_bad(pmd)) | 518 | if (pmd_none_or_clear_bad(pmd)) |
518 | continue; | 519 | continue; |
519 | if (check_pte_range(vma, pmd, addr, next, nodes, | 520 | if (check_pte_range(vma, pmd, addr, next, nodes, |