path: root/arch/powerpc/include/asm/book3s/64/pgtable.h
diff options
authorKirill A. Shutemov <>2016-01-15 16:53:21 -0800
committerLinus Torvalds <>2016-01-15 17:56:32 -0800
commit7aa9a23c69eae5bfba4f1f92c58d89edc334c8ae (patch)
tree8eccefe79b3a605534c87c475fc17fa26a263efc /arch/powerpc/include/asm/book3s/64/pgtable.h
parentb27873702b0604dc4000811e6aa43e18457013de (diff)
powerpc, thp: remove infrastructure for handling splitting PMDs
With new refcounting we don't need to mark PMDs splitting. Let's drop code to handle this. pmdp_splitting_flush() is not needed too: on splitting PMD we will do pmdp_clear_flush() + set_pte_at(). pmdp_clear_flush() will do IPI as needed for fast_gup. Signed-off-by: Kirill A. Shutemov <> Tested-by: Aneesh Kumar K.V <> Reviewed-by: Aneesh Kumar K.V <> Cc: Sasha Levin <> Cc: Jerome Marchand <> Cc: 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 'arch/powerpc/include/asm/book3s/64/pgtable.h')
1 files changed, 0 insertions, 4 deletions
diff --git a/arch/powerpc/include/asm/book3s/64/pgtable.h b/arch/powerpc/include/asm/book3s/64/pgtable.h
index b3a5badab69f..da11c4ac8a09 100644
--- a/arch/powerpc/include/asm/book3s/64/pgtable.h
+++ b/arch/powerpc/include/asm/book3s/64/pgtable.h
@@ -266,10 +266,6 @@ extern int pmdp_clear_flush_young(struct vm_area_struct *vma,
extern pmd_t pmdp_huge_get_and_clear(struct mm_struct *mm,
unsigned long addr, pmd_t *pmdp);
-extern void pmdp_splitting_flush(struct vm_area_struct *vma,
- unsigned long address, pmd_t *pmdp);
extern pmd_t pmdp_collapse_flush(struct vm_area_struct *vma,
unsigned long address, pmd_t *pmdp);
#define pmdp_collapse_flush pmdp_collapse_flush