diff options
author | 2025-04-22 09:18:11 +0100 | |
---|---|---|
committer | 2025-05-09 13:43:07 +0100 | |
commit | 91e40668e70a08cf09c0e22023807b01d78d8b3a (patch) | |
tree | 493ff1ea382402bf734fa6f837272a67b852008c /scripts/gdb/linux/utils.py | |
parent | arm64: hugetlb: Refine tlb maintenance scope (diff) | |
download | wireguard-linux-91e40668e70a08cf09c0e22023807b01d78d8b3a.tar.xz wireguard-linux-91e40668e70a08cf09c0e22023807b01d78d8b3a.zip |
mm/page_table_check: Batch-check pmds/puds just like ptes
Convert page_table_check_p[mu]d_set(...) to
page_table_check_p[mu]ds_set(..., nr) to allow checking a contiguous set
of pmds/puds in single batch. We retain page_table_check_p[mu]d_set(...)
as macros that call new batch functions with nr=1 for compatibility.
arm64 is about to reorganise its pte/pmd/pud helpers to reuse more code
and to allow the implementation for huge_pte to more efficiently set
ptes/pmds/puds in batches. We need these batch-helpers to make the
refactoring possible.
Reviewed-by: Anshuman Khandual <anshuman.khandual@arm.com>
Reviewed-by: Pasha Tatashin <pasha.tatashin@soleen.com>
Reviewed-by: Catalin Marinas <catalin.marinas@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-4-ryan.roberts@arm.com
Signed-off-by: Will Deacon <will@kernel.org>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions