diff options
author | Janosch Frank <frankja@linux.ibm.com> | 2018-07-20 13:51:21 +0100 |
---|---|---|
committer | Christian Borntraeger <borntraeger@de.ibm.com> | 2018-07-30 17:05:52 +0200 |
commit | 57cb198cfdd2e666a8dc2b7e5df6d2708191eddb (patch) | |
tree | bb39a6e0c243d7c5708cdb010f6b94ea52d5490a /arch/s390/include/asm/uprobes.h | |
parent | a3da7b4a3be51f37f434f14e11e60491f098b6ea (diff) |
KVM: s390: Beautify skey enable check
Let's introduce an explicit check if skeys have already been enabled
for the vcpu, so we don't have to check the mm context if we don't have
the storage key facility.
This lets us check for enablement without having to take the mm
semaphore and thus speedup skey emulation.
Signed-off-by: Janosch Frank <frankja@linux.ibm.com>
Reviewed-by: David Hildenbrand <david@redhat.com>
Acked-by: Farhan Ali <alifm@linux.ibm.com>
Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
Diffstat (limited to 'arch/s390/include/asm/uprobes.h')
0 files changed, 0 insertions, 0 deletions