Will Deacon 0388f9c743 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>
2021-01-20 14:46:04 +00:00
..
2021-01-08 13:46:58 -08:00
2021-01-15 10:52:00 -08:00
2020-12-16 12:33:35 -08:00
2021-01-15 13:07:33 -08:00
2020-12-16 12:33:35 -08:00
2021-01-15 10:52:00 -08:00