diff options
| author | Matt Turner <mattst88@gmail.com> | 2026-09-05 15:29:34 -0400 |
|---|---|---|
| committer | Magnus Lindholm <linmag7@gmail.com> | 2026-10-18 00:44:41 +0200 |
| commit | df26a8f1e2c2733f563d9f921e4002596b170c13 (patch) | |
| tree | 9a8b3ea9eca8e9931682692620b1242b2806a86f /tools/perf/scripts/python/stackcollapse.py | |
| parent | 7ab5de838dfcb39322417253e69a7be67bae9e68 (diff) | |
| download | linux-df26a8f1e2c2733f563d9f921e4002596b170c13.tar.gz linux-df26a8f1e2c2733f563d9f921e4002596b170c13.zip | |
alpha: add ARCH_SUPPORTS_PAGE_TABLE_CHECK support
Add the page table check helpers needed for CONFIG_PAGE_TABLE_CHECK
and select ARCH_SUPPORTS_PAGE_TABLE_CHECK in Kconfig.
Alpha does not support huge pages, so pmd_user_accessible_page() and
pud_user_accessible_page() always return false. pte_user_accessible_page()
checks for present PTEs with user read access (_PAGE_URE).
Update the helpers to the three-argument pxx_user_accessible_page(mm,
addr, pxx) signature introduced by commit cf8771ca4cdb ("mm/page_table_check:
Pass mm_struct to pxx_user_accessible_page()"), matching the other
architectures.
Assisted-by: Claude:claude-opus-4-6
Signed-off-by: Matt Turner <mattst88@gmail.com>
Tested-by: Magnus Lindholm <linmag7@gmail.com>
Reviewed-by: Magnus Lindholm <linmag7@gmail.com>
Link: https://lore.kernel.org/r/20260905-arch-kconfig-options-v2-v2-13-83e8245761a2@gmail.com
Signed-off-by: Magnus Lindholm <linmag7@gmail.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
