summaryrefslogtreecommitdiff
path: root/arch/s390/kvm
diff options
context:
space:
mode:
authorMartin Schwidefsky <schwidefsky@de.ibm.com>2014-05-16 12:34:11 +0400
committerChristian Borntraeger <borntraeger@de.ibm.com>2014-05-16 16:57:17 +0400
commit3a801517ad49f586f2016e1b1321e6cd28a97a04 (patch)
treeb1d3a84ccbeb491202dd2b402463a0d9e454408f /arch/s390/kvm
parentd9f89b88f5102ce235b75a5907838e3c7ed84b97 (diff)
downloadlinux-3a801517ad49f586f2016e1b1321e6cd28a97a04.tar.xz
KVM: s390: correct locking for s390_enable_skey
Use the mm semaphore to serialize multiple invocations of s390_enable_skey. The second CPU faulting on a storage key operation needs to wait for the completion of the page table update. Taking the mm semaphore writable has the positive side-effect that it prevents any host faults from taking place which does have implications on keys vs PGSTE. Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com> Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
Diffstat (limited to 'arch/s390/kvm')
0 files changed, 0 insertions, 0 deletions