Skip to content
Commit eddd9e83 authored by Sean Christopherson's avatar Sean Christopherson
Browse files

KVM: x86/mmu: Replace comment with an actual lockdep assertion on mmu_lock



Assert that mmu_lock is held for write in __walk_slot_rmaps() instead of
hoping the function comment will magically prevent introducing bugs.

Signed-off-by: default avatarBen Gardon <bgardon@google.com>
Link: https://lore.kernel.org/r/20230202182809.1929122-3-bgardon@google.com


Signed-off-by: default avatarSean Christopherson <seanjc@google.com>
parent 727ae377
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment