summaryrefslogtreecommitdiffstats
path: root/firmware/e100
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 /firmware/e100
parent9b11c7912d00d0e5fe0d7f8973b77dac4f69d3df (diff)
downloadlinux-1366def38b6ab574dd0dbf95e308c7d115e73796.tar.bz2
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 'firmware/e100')
0 files changed, 0 insertions, 0 deletions