]> git.karo-electronics.de Git - karo-tx-linux.git/commit
s390/mm: do not initialize storage keys
authorMartin Schwidefsky <schwidefsky@de.ibm.com>
Mon, 7 Oct 2013 10:12:32 +0000 (12:12 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Tue, 15 Oct 2013 12:45:37 +0000 (14:45 +0200)
commitc4a652f61648cfd7bb1cd44f45541ed5096a007d
treef702602dc0398569409b935aa500dfbee9e5754c
parent528065375c17eb153ceee171eff35c0514f0a53f
s390/mm: do not initialize storage keys

With dirty and referenced bits implemented in software it is unnecessary
to initialize the storage key for every page. With this patch not a single
storage key operation is done for a system that does not use KVM.
For KVM set_pte_at/pgste_set_key will do the initialization for the guest
view of the storage key when the mapping for the page is established in
the host.

Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/include/asm/page.h
arch/s390/kernel/early.c
arch/s390/mm/pageattr.c