diff options
| author | Matt Turner <mattst88@gmail.com> | 2026-09-05 15:29:36 -0400 |
|---|---|---|
| committer | Magnus Lindholm <linmag7@gmail.com> | 2026-10-18 00:44:42 +0200 |
| commit | 4f0a9027b9fd7da2704ee863d8c7dc743cdeaf68 (patch) | |
| tree | 0d7e383825d3c557f8d3e6907e1a5373c7a8d888 /tools/perf/scripts/python/stackcollapse.py | |
| parent | 533d4a1ef9da12dd820c7a04bb6024df528a54b0 (diff) | |
| download | linux-4f0a9027b9fd7da2704ee863d8c7dc743cdeaf68.tar.gz linux-4f0a9027b9fd7da2704ee863d8c7dc743cdeaf68.zip | |
alpha: select HAVE_GUP_FAST
The lockless GUP fast path needs the architecture to distinguish PTEs
with no struct page behind them and to keep page table pages alive while
a walker holds no lock. Alpha now has ARCH_HAS_PTE_SPECIAL, and it has
selected MMU_GATHER_RCU_TABLE_FREE for a long time, so both requirements
are met.
PTEs are a single 64-bit word on Alpha, so the lockless reads that the
generic walker performs cannot tear, and no arch-specific
gup_fast_permitted() or ptep_get_lockless() is needed.
Assisted-by: Claude:claude-opus-5
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-15-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
