diff options
author | Sean Christopherson <[email protected]> | 2024-08-09 12:43:23 -0700 |
---|---|---|
committer | Sean Christopherson <[email protected]> | 2024-09-09 20:22:02 -0700 |
commit | 5b1fb116e1a636701627a6eb202d17be93e8f7a8 (patch) | |
tree | 0c9a1868172fb59ef9301ac89fd11b8b152e3c82 /rust/helpers | |
parent | 0a37fffda14538036f5402a29920285284fe5d5b (diff) |
KVM: x86/mmu: Plumb a @can_yield parameter into __walk_slot_rmaps()
Add a @can_yield param to __walk_slot_rmaps() to control whether or not
dropping mmu_lock and conditionally rescheduling is allowed. This will
allow using __walk_slot_rmaps() and thus cond_resched() to handle
mmu_notifier invalidations, which usually allow blocking/yielding, but not
when invoked by the OOM killer.
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Sean Christopherson <[email protected]>
Diffstat (limited to 'rust/helpers')
0 files changed, 0 insertions, 0 deletions