mm/pgtable: drop pgtable_t variable from pte_fn_t functions
Drop the pgtable_t variable from all implementation for pte_fn_t as none of them use it. apply_to_pte_range() should stop computing it as well. Should help us save some cycles. Link: http://lkml.kernel.org/r/1556803126-26596-1-git-send-email-anshuman.khandual@arm.com Signed-off-by:Anshuman Khandual <anshuman.khandual@arm.com> Acked-by:
Matthew Wilcox <willy@infradead.org> Cc: Ard Biesheuvel <ard.biesheuvel@linaro.org> Cc: Russell King <linux@armlinux.org.uk> Cc: Catalin Marinas <catalin.marinas@arm.com> Cc: Will Deacon <will.deacon@arm.com> Cc: Thomas Gleixner <tglx@linutronix.de> Cc: Ingo Molnar <mingo@redhat.com> Cc: Michal Hocko <mhocko@suse.com> Cc: Logan Gunthorpe <logang@deltatee.com> Cc: "Kirill A. Shutemov" <kirill.shutemov@linux.intel.com> Cc: Dan Williams <dan.j.williams@intel.com> Cc: <jglisse@redhat.com> Cc: Mike Rapoport <rppt@linux.vnet.ibm.com> Signed-off-by:
Andrew Morton <akpm@linux-foundation.org> Signed-off-by:
Linus Torvalds <torvalds@linux-foundation.org>
Showing
- arch/arm/kernel/efi.c 1 addition, 2 deletionsarch/arm/kernel/efi.c
- arch/arm/mm/dma-mapping.c 1 addition, 2 deletionsarch/arm/mm/dma-mapping.c
- arch/arm/mm/pageattr.c 1 addition, 2 deletionsarch/arm/mm/pageattr.c
- arch/arm64/kernel/efi.c 1 addition, 2 deletionsarch/arm64/kernel/efi.c
- arch/arm64/mm/pageattr.c 1 addition, 2 deletionsarch/arm64/mm/pageattr.c
- arch/x86/xen/mmu_pv.c 1 addition, 2 deletionsarch/x86/xen/mmu_pv.c
- drivers/gpu/drm/i915/i915_mm.c 1 addition, 2 deletionsdrivers/gpu/drm/i915/i915_mm.c
- drivers/xen/gntdev.c 2 additions, 4 deletionsdrivers/xen/gntdev.c
- drivers/xen/privcmd.c 2 additions, 4 deletionsdrivers/xen/privcmd.c
- drivers/xen/xlate_mmu.c 1 addition, 2 deletionsdrivers/xen/xlate_mmu.c
- include/linux/mm.h 1 addition, 2 deletionsinclude/linux/mm.h
- mm/memory.c 1 addition, 4 deletionsmm/memory.c
- mm/vmalloc.c 1 addition, 1 deletionmm/vmalloc.c
Loading
Please register or sign in to comment