path: root/mm/pagewalk.c
diff options
authorKirill A. Shutemov <>2016-01-15 16:52:42 -0800
committerLinus Torvalds <>2016-01-15 17:56:32 -0800
commit78ddc53473419073ffb2e91178001e87bc513524 (patch)
tree5e53e05d563d95cdc3611049fb51ed60daf977b9 /mm/pagewalk.c
parentb1caa957ae6da3142a73ba8c5c9b2ca821021f0f (diff)
thp: rename split_huge_page_pmd() to split_huge_pmd()
We are going to decouple splitting THP PMD from splitting underlying compound page. This patch renames split_huge_page_pmd*() functions to split_huge_pmd*() to reflect the fact that it doesn't imply page splitting, only PMD. Signed-off-by: Kirill A. Shutemov <> Tested-by: Sasha Levin <> Tested-by: Aneesh Kumar K.V <> Acked-by: Jerome Marchand <> Acked-by: Vlastimil Babka <> Cc: Andrea Arcangeli <> Cc: Hugh Dickins <> Cc: Dave Hansen <> Cc: Mel Gorman <> Cc: Rik van Riel <> Cc: Naoya Horiguchi <> Cc: Steve Capper <> Cc: Johannes Weiner <> Cc: Michal Hocko <> Cc: Christoph Lameter <> Cc: David Rientjes <> Signed-off-by: Andrew Morton <> Signed-off-by: Linus Torvalds <>
Diffstat (limited to 'mm/pagewalk.c')
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/pagewalk.c b/mm/pagewalk.c
index 29f2f8b853ae..207244489a68 100644
--- a/mm/pagewalk.c
+++ b/mm/pagewalk.c
@@ -58,7 +58,7 @@ again:
if (!walk->pte_entry)
- split_huge_page_pmd_mm(walk->mm, addr, pmd);
+ split_huge_pmd(walk->vma, pmd, addr);
if (pmd_trans_unstable(pmd))
goto again;
err = walk_pte_range(pmd, addr, next, walk);