aboutsummaryrefslogtreecommitdiffstats
path: root/rust/helpers/mutex.c
diff options
context:
space:
mode:
authorSean Christopherson <[email protected]>2025-04-01 16:34:40 +0000
committerSean Christopherson <[email protected]>2025-04-24 18:19:37 +0000
commit600e9606046ac3b9b7a3f0500d08a179df84c45e (patch)
tree59fb06558b441845233273d6e0dfd22478c5da7a /rust/helpers/mutex.c
parentMerge branch 'kvm-fixes-6.15-rc4' into HEAD (diff)
downloadkernel-600e9606046ac3b9b7a3f0500d08a179df84c45e.tar.gz
kernel-600e9606046ac3b9b7a3f0500d08a179df84c45e.zip
x86/irq: Ensure initial PIR loads are performed exactly once
Ensure the PIR is read exactly once at the start of handle_pending_pir(), to guarantee that checking for an outstanding posted interrupt in a given chuck doesn't reload the chunk from the "real" PIR. Functionally, a reload is benign, but it would defeat the purpose of pre-loading into a copy. Fixes: 1b03d82ba15e ("x86/irq: Install posted MSI notification handler") Reviewed-by: Thomas Gleixner <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Sean Christopherson <[email protected]>
Diffstat (limited to 'rust/helpers/mutex.c')
0 files changed, 0 insertions, 0 deletions