linux/arch
Will Deacon 895e8a6459 BACKPORT: FROMGIT: 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>
Change-Id: I0cd9ccf68bdd7b55e69306f0bfb3045c93f539fa
Bug: 171278850
(cherry picked from commit 0388f9c743
https://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git/log/?h=for-next/faultaround)
Signed-off-by: Vinayak Menon <vinmenon@codeaurora.org>
2021-02-11 12:15:05 +00:00
..
alpha UPSTREAM: arch: move SA_* definitions to generic headers 2021-01-22 10:05:52 -08:00
arc arch/arc: add copy_user_page() to <asm/page.h> to fix build error on ARC 2021-01-19 18:27:26 +01:00
arm This is the 5.10.15 stable release 2021-02-10 09:53:50 +01:00
arm64 BACKPORT: FROMGIT: arm64: mm: Implement arch_wants_old_prefaulted_pte() 2021-02-11 12:15:05 +00:00
c6x Revert "Revert "uaccess: add infrastructure for kernel builds with set_fs()"" 2020-10-28 15:08:39 +01:00
csky Merge 5.10.7 into android12-5.10 2021-01-13 10:29:42 +01:00
h8300 UPSTREAM: arch: move SA_* definitions to generic headers 2021-01-22 10:05:52 -08:00
hexagon local64.h: make <asm/local64.h> mandatory 2021-01-12 20:18:16 +01:00
ia64 UPSTREAM: arch: move SA_* definitions to generic headers 2021-01-22 10:05:52 -08:00
m68k UPSTREAM: arch: move SA_* definitions to generic headers 2021-01-22 10:05:52 -08:00
microblaze local64.h: make <asm/local64.h> mandatory 2021-01-12 20:18:16 +01:00
mips UPSTREAM: arch: move SA_* definitions to generic headers 2021-01-22 10:05:52 -08:00
nds32 local64.h: make <asm/local64.h> mandatory 2021-01-12 20:18:16 +01:00
nios2 sched/idle: Fix arch_cpu_idle() vs tracing 2020-11-24 16:47:35 +01:00
openrisc sched/idle: Fix arch_cpu_idle() vs tracing 2020-11-24 16:47:35 +01:00
parisc Merge 5.10.13 into android12-5.10 2021-02-05 10:38:34 +01:00
powerpc Merge 5.10.13 into android12-5.10 2021-02-05 10:38:34 +01:00
riscv This is the 5.10.15 stable release 2021-02-10 09:53:50 +01:00
s390 Merge 5.10.13 into android12-5.10 2021-02-05 10:38:34 +01:00
sh This is the 5.10.11 stable release 2021-01-27 12:12:33 +01:00
sparc UPSTREAM: arch: move SA_* definitions to generic headers 2021-01-22 10:05:52 -08:00
um This is the 5.10.15 stable release 2021-02-10 09:53:50 +01:00
x86 This is the 5.10.15 stable release 2021-02-10 09:53:50 +01:00
xtensa UPSTREAM: arch: move SA_* definitions to generic headers 2021-01-22 10:05:52 -08:00
.gitignore
Kconfig UPSTREAM: mm: speedup mremap on 1GB or larger regions 2021-01-29 18:27:06 +00:00