mm: treewide: clarify pgtable_page_{ctor,dtor}() naming
The naming of pgtable_page_{ctor,dtor}() seems to have confused a few people, and until recently arm64 used these erroneously/pointlessly for other levels of page table. To make it incredibly clear that these only apply to the PTE level, and to align with the naming of pgtable_pmd_page_{ctor,dtor}(), let's rename them to pgtable_pte_page_{ctor,dtor}(). These changes were generated with the following shell script: ---- git grep -lw 'pgtable_page_.tor' | while read FILE; do sed -i '{s/pgtable_page_ctor/pgtable_pte_page_ctor/}' $FILE; sed -i '{s/pgtable_page_dtor/pgtable_pte_page_dtor/}' $FILE; done ---- ... with the documentation re-flowed to remain under 80 columns, and whitespace fixed up in macros to keep backslashes aligned. There should be no functional change as a result of this patch. Link: http://lkml.kernel.org/r/20190722141133.3116-1-mark.rutland@arm.com Signed-off-by:Mark Rutland <mark.rutland@arm.com> Reviewed-by:
Mike Rapoport <rppt@linux.ibm.com> Acked-by: Geert Uytterhoeven <geert@linux-m68k.org> [m68k] Cc: Anshuman Khandual <anshuman.khandual@arm.com> Cc: Matthew Wilcox <willy@infradead.org> Cc: Michal Hocko <mhocko@suse.com> Cc: Yu Zhao <yuzhao@google.com> Signed-off-by:
Andrew Morton <akpm@linux-foundation.org> Signed-off-by:
Linus Torvalds <torvalds@linux-foundation.org>
Showing
- Documentation/vm/split_page_table_lock.rst 5 additions, 5 deletionsDocumentation/vm/split_page_table_lock.rst
- arch/arc/include/asm/pgalloc.h 2 additions, 2 deletionsarch/arc/include/asm/pgalloc.h
- arch/arm/include/asm/tlb.h 1 addition, 1 deletionarch/arm/include/asm/tlb.h
- arch/arm/mm/mmu.c 1 addition, 1 deletionarch/arm/mm/mmu.c
- arch/arm64/include/asm/tlb.h 1 addition, 1 deletionarch/arm64/include/asm/tlb.h
- arch/arm64/mm/mmu.c 1 addition, 1 deletionarch/arm64/mm/mmu.c
- arch/csky/include/asm/pgalloc.h 1 addition, 1 deletionarch/csky/include/asm/pgalloc.h
- arch/hexagon/include/asm/pgalloc.h 1 addition, 1 deletionarch/hexagon/include/asm/pgalloc.h
- arch/m68k/include/asm/mcf_pgalloc.h 3 additions, 3 deletionsarch/m68k/include/asm/mcf_pgalloc.h
- arch/m68k/include/asm/motorola_pgalloc.h 3 additions, 3 deletionsarch/m68k/include/asm/motorola_pgalloc.h
- arch/m68k/include/asm/sun3_pgalloc.h 1 addition, 1 deletionarch/m68k/include/asm/sun3_pgalloc.h
- arch/mips/include/asm/pgalloc.h 1 addition, 1 deletionarch/mips/include/asm/pgalloc.h
- arch/nios2/include/asm/pgalloc.h 1 addition, 1 deletionarch/nios2/include/asm/pgalloc.h
- arch/openrisc/include/asm/pgalloc.h 3 additions, 3 deletionsarch/openrisc/include/asm/pgalloc.h
- arch/powerpc/mm/pgtable-frag.c 3 additions, 3 deletionsarch/powerpc/mm/pgtable-frag.c
- arch/riscv/include/asm/pgalloc.h 1 addition, 1 deletionarch/riscv/include/asm/pgalloc.h
- arch/s390/mm/pgalloc.c 3 additions, 3 deletionsarch/s390/mm/pgalloc.c
- arch/sh/include/asm/pgalloc.h 1 addition, 1 deletionarch/sh/include/asm/pgalloc.h
- arch/sparc/mm/init_64.c 2 additions, 2 deletionsarch/sparc/mm/init_64.c
- arch/sparc/mm/srmmu.c 2 additions, 2 deletionsarch/sparc/mm/srmmu.c
Loading
Please register or sign in to comment