mm: clarify that the function operates on hugepage pte
We have confusing functions to clear pmd, pmd_clear_* and pmd_clear. Add _huge_ to pmdp_clear functions so that we are clear that they operate on hugepage pte. We don't bother about other functions like pmdp_set_wrprotect, pmdp_clear_flush_young, because they operate on PTE bits and hence indicate they are operating on hugepage ptes Signed-off-by:Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com> Acked-by:
Kirill A. Shutemov <kirill.shutemov@linux.intel.com> Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org> Cc: Paul Mackerras <paulus@samba.org> Cc: Michael Ellerman <mpe@ellerman.id.au> Cc: Andrea Arcangeli <aarcange@redhat.com> Cc: Martin Schwidefsky <schwidefsky@de.ibm.com> Signed-off-by:
Andrew Morton <akpm@linux-foundation.org> Signed-off-by:
Linus Torvalds <torvalds@linux-foundation.org>
Showing
- arch/mips/include/asm/pgtable.h 4 additions, 4 deletionsarch/mips/include/asm/pgtable.h
- arch/powerpc/include/asm/pgtable-ppc64.h 3 additions, 3 deletionsarch/powerpc/include/asm/pgtable-ppc64.h
- arch/powerpc/mm/pgtable_64.c 2 additions, 2 deletionsarch/powerpc/mm/pgtable_64.c
- arch/s390/include/asm/pgtable.h 12 additions, 12 deletionsarch/s390/include/asm/pgtable.h
- arch/sparc/include/asm/pgtable_64.h 4 additions, 4 deletionsarch/sparc/include/asm/pgtable_64.h
- arch/tile/include/asm/pgtable.h 4 additions, 4 deletionsarch/tile/include/asm/pgtable.h
- arch/x86/include/asm/pgtable.h 2 additions, 2 deletionsarch/x86/include/asm/pgtable.h
- include/asm-generic/pgtable.h 9 additions, 9 deletionsinclude/asm-generic/pgtable.h
- include/linux/mmu_notifier.h 6 additions, 6 deletionsinclude/linux/mmu_notifier.h
- mm/huge_memory.c 8 additions, 8 deletionsmm/huge_memory.c
- mm/migrate.c 1 addition, 1 deletionmm/migrate.c
- mm/pgtable-generic.c 9 additions, 5 deletionsmm/pgtable-generic.c
- mm/rmap.c 1 addition, 1 deletionmm/rmap.c
Loading
Please register or sign in to comment