diff options
author | Sean Christopherson <seanjc@google.com> | 2024-08-09 22:43:23 +0300 |
---|---|---|
committer | Sean Christopherson <seanjc@google.com> | 2024-09-10 06:22:02 +0300 |
commit | 5b1fb116e1a636701627a6eb202d17be93e8f7a8 (patch) | |
tree | 0c9a1868172fb59ef9301ac89fd11b8b152e3c82 /rust/helpers/mutex.c | |
parent | 0a37fffda14538036f5402a29920285284fe5d5b (diff) | |
download | linux-5b1fb116e1a636701627a6eb202d17be93e8f7a8.tar.xz |
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/20240809194335.1726916-12-seanjc@google.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
Diffstat (limited to 'rust/helpers/mutex.c')
0 files changed, 0 insertions, 0 deletions