diff options
author | 2020-11-24 18:49:26 +0000 | |
---|---|---|
committer | 2021-01-20 14:46:04 +0000 | |
commit | 0388f9c7433024ccf3909b3404a745100f006a17 (patch) | |
tree | 0d74c4b9b4829c052f466183d05fb02eca833c14 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | mm: Allow architectures to request 'old' entries when prefaulting (diff) | |
download | wireguard-linux-0388f9c7433024ccf3909b3404a745100f006a17.tar.xz wireguard-linux-0388f9c7433024ccf3909b3404a745100f006a17.zip |
arm64: mm: Implement arch_wants_old_prefaulted_pte()
On CPUs with hardware AF/DBM, initialising prefaulted PTEs as 'old'
improves vmscan behaviour and does not appear to introduce any overhead
elsewhere.
Implement arch_wants_old_prefaulted_pte() to return 'true' if we detect
hardware access flag support at runtime. This can be extended in future
based on MIDR matching if necessary.
Cc: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Will Deacon <will@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions