diff options
author | Ryan Roberts <ryan.roberts@arm.com> | 2025-04-22 11:18:18 +0300 |
---|---|---|
committer | Will Deacon <will@kernel.org> | 2025-05-09 15:43:07 +0300 |
commit | 44562c71e2cfc9eed39bfcd98af63d5da8b1b5bf (patch) | |
tree | 5d76d6d0f4b3b032873bd4d6d4b619a70dc66189 /scripts/lib/kdoc/kdoc_parser.py | |
parent | 06fc959fcff743298fdb5428e18bcbd7b54cb9ae (diff) | |
download | linux-44562c71e2cfc9eed39bfcd98af63d5da8b1b5bf.tar.xz |
mm/vmalloc: Enter lazy mmu mode while manipulating vmalloc ptes
Wrap vmalloc's pte table manipulation loops with
arch_enter_lazy_mmu_mode() / arch_leave_lazy_mmu_mode(). This provides
the arch code with the opportunity to optimize the pte manipulations.
Note that vmap_pfn() already uses lazy mmu mode since it delegates to
apply_to_page_range() which enters lazy mmu mode for both user and
kernel mappings.
These hooks will shortly be used by arm64 to improve vmalloc
performance.
Reviewed-by: Uladzislau Rezki (Sony) <urezki@gmail.com>
Reviewed-by: Catalin Marinas <catalin.marinas@arm.com>
Reviewed-by: Anshuman Khandual <anshuman.khandual@arm.com>
Signed-off-by: Ryan Roberts <ryan.roberts@arm.com>
Tested-by: Luiz Capitulino <luizcap@redhat.com>
Link: https://lore.kernel.org/r/20250422081822.1836315-11-ryan.roberts@arm.com
Signed-off-by: Will Deacon <will@kernel.org>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_parser.py')
0 files changed, 0 insertions, 0 deletions