diff options
author | Sean Christopherson <seanjc@google.com> | 2025-05-17 00:35:40 +0300 |
---|---|---|
committer | Sean Christopherson <seanjc@google.com> | 2025-06-20 23:41:04 +0300 |
commit | 614fb9d1479b1d90721ca70da8b7c55f69fe9ad2 (patch) | |
tree | 7a1835eccd50d8c0489c64218864105a71e1ab7f /drivers/fpga/zynq-fpga.c | |
parent | e46ad851150f1dd14b8542b6fb7a51f695a99eb1 (diff) | |
download | linux-614fb9d1479b1d90721ca70da8b7c55f69fe9ad2.tar.xz |
KVM: Assert that slots_lock is held when resetting per-vCPU dirty rings
Assert that slots_lock is held in kvm_dirty_ring_reset() and add a comment
to explain _why_ slots needs to be held for the duration of the reset.
Link: https://lore.kernel.org/all/aCSns6Q5oTkdXUEe@google.com
Suggested-by: James Houghton <jthoughton@google.com>
Reviewed-by: Yan Zhao <yan.y.zhao@intel.com>
Reviewed-by: Peter Xu <peterx@redhat.com>
Link: https://lore.kernel.org/r/20250516213540.2546077-7-seanjc@google.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
Diffstat (limited to 'drivers/fpga/zynq-fpga.c')
0 files changed, 0 insertions, 0 deletions