diff options
| author | Claudio Imbrenda <imbrenda@linux.ibm.com> | 2026-03-03 20:52:06 +0300 |
|---|---|---|
| committer | Claudio Imbrenda <imbrenda@linux.ibm.com> | 2026-03-06 14:41:28 +0300 |
| commit | f303406efd0b6b8740ce5c47e852097bbcf54879 (patch) | |
| tree | 528d57fd183257dc141741ba14e96ebaf33a23f7 /scripts/dummy-tools/python3 | |
| parent | 5ee8dbf54602dc340d6235b1d6aa17c0f283f48c (diff) | |
| download | linux-f303406efd0b6b8740ce5c47e852097bbcf54879.tar.xz | |
KVM: s390: Fix a deadlock
In some scenarios, a deadlock can happen, involving _do_shadow_pte().
Convert all usages of pgste_get_lock() to pgste_get_trylock() in
_do_shadow_pte() and return -EAGAIN. All callers can already deal with
-EAGAIN being returned.
Fixes: e38c884df921 ("KVM: s390: Switch to new gmap")
Tested-by: Christian Borntraeger <borntraeger@linux.ibm.com>
Reviewed-by: Janosch Frank <frankja@linux.ibm.com>
Reviewed-by: Christoph Schlameuss <schlameuss@linux.ibm.com>
Signed-off-by: Claudio Imbrenda <imbrenda@linux.ibm.com>
Diffstat (limited to 'scripts/dummy-tools/python3')
0 files changed, 0 insertions, 0 deletions
