diff options
author | Ryan Roberts <ryan.roberts@arm.com> | 2025-04-22 11:18:11 +0300 |
---|---|---|
committer | Will Deacon <will@kernel.org> | 2025-05-09 15:43:07 +0300 |
commit | 91e40668e70a08cf09c0e22023807b01d78d8b3a (patch) | |
tree | 493ff1ea382402bf734fa6f837272a67b852008c /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 5b3f8917644e595a710849e602b61617d55c4c41 (diff) | |
download | linux-91e40668e70a08cf09c0e22023807b01d78d8b3a.tar.xz |
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 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions