summaryrefslogtreecommitdiffstats
path: root/mm/vmscan.c
diff options
context:
space:
mode:
authorDaniel Micay2017-07-07 00:36:47 +0200
committerLinus Torvalds2017-07-07 01:24:31 +0200
commitac34ceaf1cdb34e8c34c0873ee562e9df6087cbc (patch)
treef06d0c4f732aabe00f879dfb0a33b2d9ada3beae /mm/vmscan.c
parentmm, sparsemem: break out of loops early (diff)
downloadkernel-qcow2-linux-ac34ceaf1cdb34e8c34c0873ee562e9df6087cbc.tar.gz
kernel-qcow2-linux-ac34ceaf1cdb34e8c34c0873ee562e9df6087cbc.tar.xz
kernel-qcow2-linux-ac34ceaf1cdb34e8c34c0873ee562e9df6087cbc.zip
mm/mmap.c: mark protection_map as __ro_after_init
The protection map is only modified by per-arch init code so it can be protected from writes after the init code runs. This change was extracted from PaX where it's part of KERNEXEC. Link: http://lkml.kernel.org/r/20170510174441.26163-1-danielmicay@gmail.com Signed-off-by: Daniel Micay <danielmicay@gmail.com> Acked-by: Kees Cook <keescook@chromium.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/vmscan.c')
0 files changed, 0 insertions, 0 deletions