aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
diff options
context:
space:
mode:
authorSean Christopherson <[email protected]>2024-08-09 19:43:23 +0000
committerSean Christopherson <[email protected]>2024-09-10 03:22:02 +0000
commit5b1fb116e1a636701627a6eb202d17be93e8f7a8 (patch)
tree0c9a1868172fb59ef9301ac89fd11b8b152e3c82 /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
parentKVM: x86/mmu: Move walk_slot_rmaps() up near for_each_slot_rmap_range() (diff)
downloadkernel-5b1fb116e1a636701627a6eb202d17be93e8f7a8.tar.gz
kernel-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/[email protected] Signed-off-by: Sean Christopherson <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions