diff options
author | 2024-08-09 12:43:23 -0700 | |
---|---|---|
committer | 2024-09-09 20:22:02 -0700 | |
commit | 5b1fb116e1a636701627a6eb202d17be93e8f7a8 (patch) | |
tree | 0c9a1868172fb59ef9301ac89fd11b8b152e3c82 /scripts/generate_rust_analyzer.py | |
parent | KVM: x86/mmu: Move walk_slot_rmaps() up near for_each_slot_rmap_range() (diff) | |
download | linux-rng-5b1fb116e1a636701627a6eb202d17be93e8f7a8.tar.xz linux-rng-5b1fb116e1a636701627a6eb202d17be93e8f7a8.zip |
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 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions