]> git.baikalelectronics.ru Git - kernel.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>
Thu, 24 Oct 2013 15:17:00 +0000 (17:17 +0200)
commit4768ae46c00abd013472d241e1e14d50ce48269d
tree70c6b13e0b483459bf5e6669ac0973b35bab7c48
parent3cb878accb84f1cc81621223e9938bdccd8162da
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