diff options
author | 2025-03-12 19:49:12 +0100 | |
---|---|---|
committer | 2025-03-14 15:24:19 +0100 | |
commit | d8dfda5af0be6e48178b6f4b46c6af30b06335b2 (patch) | |
tree | afbb2f7efaac2f2770faaf37a8c0ab701a1e3d70 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | Merge tag 'leds-fixes-6.14' of git://git.kernel.org/pub/scm/linux/kernel/git/lee/leds (diff) | |
download | linux-rng-d8dfda5af0be6e48178b6f4b46c6af30b06335b2.tar.xz linux-rng-d8dfda5af0be6e48178b6f4b46c6af30b06335b2.zip |
KVM: s390: pv: fix race when making a page secure
Holding the pte lock for the page that is being converted to secure is
needed to avoid races. A previous commit removed the locking, which
caused issues. Fix by locking the pte again.
Fixes: 5cbe24350b7d ("KVM: s390: move pv gmap functions into kvm")
Reported-by: David Hildenbrand <david@redhat.com>
Tested-by: David Hildenbrand <david@redhat.com>
Reviewed-by: David Hildenbrand <david@redhat.com>
[david@redhat.com: replace use of get_locked_pte() with folio_walk_start()]
Link: https://lore.kernel.org/r/20250312184912.269414-2-imbrenda@linux.ibm.com
Signed-off-by: Claudio Imbrenda <imbrenda@linux.ibm.com>
Message-ID: <20250312184912.269414-2-imbrenda@linux.ibm.com>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions