diff options
| author | Sean Christopherson <[email protected]> | 2025-04-01 16:34:44 +0000 |
|---|---|---|
| committer | Sean Christopherson <[email protected]> | 2025-04-24 18:19:39 +0000 |
| commit | 06b4d0ea226c295e85a9daa6aed0ae9fa3ff8a94 (patch) | |
| tree | 51f319876b322c74bb362d0c5dd2c4ac16c0ed44 /rust/helpers/mutex.c | |
| parent | x86/irq: KVM: Track PIR bitmap as an "unsigned long" array (diff) | |
| download | kernel-06b4d0ea226c295e85a9daa6aed0ae9fa3ff8a94.tar.gz kernel-06b4d0ea226c295e85a9daa6aed0ae9fa3ff8a94.zip | |
KVM: VMX: Process PIR using 64-bit accesses on 64-bit kernels
Process the PIR at the natural kernel width, i.e. in 64-bit chunks on
64-bit kernels, so that the worst case of having a posted IRQ in each
chunk of the vIRR only requires 4 loads and xchgs from/to the PIR, not 8.
Deliberately use a "continue" to skip empty entries so that the code is a
carbon copy of handle_pending_pir(), in anticipation of deduplicating KVM
and posted MSI logic.
Suggested-by: Jim Mattson <[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
