aboutsummaryrefslogtreecommitdiffstats
path: root/arch/s390/include/asm/cpacf.h
diff options
context:
space:
mode:
authorHeiko Carstens <heiko.carstens@de.ibm.com>2017-04-24 15:27:35 +0200
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2017-04-26 13:41:21 +0200
commit1366def38b6ab574dd0dbf95e308c7d115e73796 (patch)
treeba7b4a0e6b322678c76891a3c96e2d6896f5f75a /arch/s390/include/asm/cpacf.h
parents390/mm: simplify arch_get_unmapped_area[_topdown] (diff)
downloadlinux-dev-1366def38b6ab574dd0dbf95e308c7d115e73796.tar.xz
linux-dev-1366def38b6ab574dd0dbf95e308c7d115e73796.zip
s390/pageattr: avoid unnecessary page table splitting
The kernel page table splitting code will split page tables even for features the CPU does not support. E.g. a CPU may not support the NX feature. In order to avoid this, remove those bits from the flags parameter that correlate with unsupported CPU features within __set_memory(). In addition add an early exit if the flags parameter does not have any bits set afterwards. Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'arch/s390/include/asm/cpacf.h')
0 files changed, 0 insertions, 0 deletions