diff options
author | 2017-04-24 15:27:35 +0200 | |
---|---|---|
committer | 2017-04-26 13:41:21 +0200 | |
commit | 1366def38b6ab574dd0dbf95e308c7d115e73796 (patch) | |
tree | ba7b4a0e6b322678c76891a3c96e2d6896f5f75a /tools/perf/scripts/python/export-to-postgresql.py | |
parent | s390/mm: simplify arch_get_unmapped_area[_topdown] (diff) | |
download | wireguard-linux-1366def38b6ab574dd0dbf95e308c7d115e73796.tar.xz wireguard-linux-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 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions