aboutsummaryrefslogtreecommitdiffstats
path: root/rust/helpers/helpers.c
diff options
context:
space:
mode:
authorClaudio Imbrenda <[email protected]>2025-03-12 18:49:12 +0000
committerClaudio Imbrenda <[email protected]>2025-03-14 14:24:19 +0000
commitd8dfda5af0be6e48178b6f4b46c6af30b06335b2 (patch)
treeafbb2f7efaac2f2770faaf37a8c0ab701a1e3d70 /rust/helpers/helpers.c
parentMerge tag 'leds-fixes-6.14' of git://git.kernel.org/pub/scm/linux/kernel/git/... (diff)
downloadkernel-d8dfda5af0be6e48178b6f4b46c6af30b06335b2.tar.gz
kernel-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 <[email protected]> Tested-by: David Hildenbrand <[email protected]> Reviewed-by: David Hildenbrand <[email protected]> [[email protected]: replace use of get_locked_pte() with folio_walk_start()] Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Claudio Imbrenda <[email protected]> Message-ID: <[email protected]>
Diffstat (limited to 'rust/helpers/helpers.c')
0 files changed, 0 insertions, 0 deletions