]> git.baikalelectronics.ru Git - kernel.git/commit
s390/mm: try to avoid storage key operation in ptep_set_access_flags
authorMartin Schwidefsky <schwidefsky@de.ibm.com>
Tue, 29 Sep 2015 10:51:40 +0000 (12:51 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Wed, 14 Oct 2015 12:32:07 +0000 (14:32 +0200)
commit00f41a3e51541aa561abcd45c0d10222d45f0ec0
tree2ce127f327fc349098908385a0b564ae6136887f
parent6aaae8729ba476cc7a8bb41d06857f852b8cd649
s390/mm: try to avoid storage key operation in ptep_set_access_flags

The call to pgste_set_key in ptep_set_access_flags can be avoided
if the old pte is found to be valid at the time the new access
rights are set. The function that created the old, valid pte already
completed the required storage key operation.

Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/include/asm/pgtable.h