]> 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, 22 Oct 2013 07:18:17 +0000 (09:18 +0200)
commit3f1f3d0f5800b86356f054906b18a5c6bf2d4b22
tree442f454e0b230d0221894ceb07d9af85b9200ce1
parent26e4c504717a5bcb466aa22862618a5a2b59eea0
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