linux/arch/s390/mm
Heiko Carstens 1366def38b 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>
2017-04-26 13:41:21 +02:00
..
cmm.c s390: mm: Audit and remove any unnecessary uses of module.h 2017-02-17 07:40:35 +01:00
dump_pagetables.c s390/mm: add cond_resched call to kernel page table dumper 2017-02-17 07:41:07 +01:00
extmem.c s390: mm: Audit and remove any unnecessary uses of module.h 2017-02-17 07:40:35 +01:00
fault.c sched/headers: Prepare for new header dependencies before moving code to <linux/sched/debug.h> 2017-03-02 08:42:34 +01:00
gmap.c s390/mm: make TASK_SIZE independent from the number of page table levels 2017-04-25 07:47:32 +02:00
gup.c s390/mm: make TASK_SIZE independent from the number of page table levels 2017-04-25 07:47:32 +02:00
hugetlbpage.c s390/mm: use _SEGMENT_ENTRY_EMPTY in the code 2017-02-23 10:06:39 +01:00
init.c s390/mm: make memory_block_size_bytes available for !MEMORY_HOTPLUG 2017-02-17 07:40:55 +01:00
maccess.c s390/maccess: reduce stnsm instructions 2016-02-17 09:05:04 +01:00
Makefile s390/extable: use generic search and sort routines 2016-03-22 15:36:02 -07:00
mem_detect.c s390: mm: Audit and remove any unnecessary uses of module.h 2017-02-17 07:40:35 +01:00
mmap.c s390/mm: simplify arch_get_unmapped_area[_topdown] 2017-04-25 14:08:19 +02:00
page-states.c s390/kvm: Add PGSTE manipulation functions 2017-04-20 13:33:08 +02:00
pageattr.c s390/pageattr: avoid unnecessary page table splitting 2017-04-26 13:41:21 +02:00
pgalloc.c s390/mm: make TASK_SIZE independent from the number of page table levels 2017-04-25 07:47:32 +02:00
pgtable.c s390/kvm: Add PGSTE manipulation functions 2017-04-20 13:33:08 +02:00
vmem.c s390: mm: Audit and remove any unnecessary uses of module.h 2017-02-17 07:40:35 +01:00