]> git.baikalelectronics.ru Git - kernel.git/commit
s390/mm: use non-quiescing sske for KVM switch to keyed guest
authorChristian Borntraeger <borntraeger@linux.ibm.com>
Mon, 30 May 2022 09:27:06 +0000 (11:27 +0200)
committerHeiko Carstens <hca@linux.ibm.com>
Wed, 1 Jun 2022 10:03:16 +0000 (12:03 +0200)
commit7ceba5fa190787d363864a3d43e434bd636b79c6
treeb2bb2d6129a39829dc3e37eea1fb2b001cf4b9e7
parent2c0acda8a273852eb005b5c71fe3ee8b4ff0fe41
s390/mm: use non-quiescing sske for KVM switch to keyed guest

The switch to a keyed guest does not require a classic sske as the other
guest CPUs are not accessing the key before the switch is complete.
By using the NQ SSKE things are faster especially with multiple guests.

Signed-off-by: Christian Borntraeger <borntraeger@linux.ibm.com>
Suggested-by: Janis Schoetterl-Glausch <scgl@linux.ibm.com>
Reviewed-by: Claudio Imbrenda <imbrenda@linux.ibm.com>
Link: https://lore.kernel.org/r/20220530092706.11637-3-borntraeger@linux.ibm.com
Signed-off-by: Christian Borntraeger <borntraeger@linux.ibm.com>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
arch/s390/mm/pgtable.c