s390/mm,fault: use static key for store indication
authorHeiko Carstens <hca@linux.ibm.com>
Thu, 12 Oct 2023 07:40:41 +0000 (09:40 +0200)
committerVasily Gorbik <gor@linux.ibm.com>
Mon, 23 Oct 2023 16:21:22 +0000 (18:21 +0200)
commit4416d2ed816699b8e7491f1e8e8b15f69685af57
tree4a5131f0b9c63ead952d1bd4e8bdde56e92f7392
parent9641613f48bbf8626355118de58f96eec5aebf49
s390/mm,fault: use static key for store indication

Generate slightly better code by using a static key to implement store
indication. This allows to get rid of a memory access on the hot path.

Reviewed-by: Claudio Imbrenda <imbrenda@linux.ibm.com>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
arch/s390/mm/fault.c