diff options
| author | Sean Christopherson <[email protected]> | 2024-08-09 19:43:26 +0000 |
|---|---|---|
| committer | Sean Christopherson <[email protected]> | 2024-09-10 03:22:05 +0000 |
| commit | c17f150000f6b06061dc109bc2dd2858898a62b2 (patch) | |
| tree | 69d761db90f11f0f4befee1297496deb1cdb0a1e /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c | |
| parent | KVM: x86/mmu: Honor NEED_RESCHED when zapping rmaps and blocking is allowed (diff) | |
| download | kernel-c17f150000f6b06061dc109bc2dd2858898a62b2.tar.gz kernel-c17f150000f6b06061dc109bc2dd2858898a62b2.zip | |
KVM: x86/mmu: Morph kvm_handle_gfn_range() into an aging specific helper
Rework kvm_handle_gfn_range() into an aging-specic helper,
kvm_rmap_age_gfn_range(). In addition to purging a bunch of unnecessary
boilerplate code, this sets the stage for aging rmap SPTEs outside of
mmu_lock.
Note, there's a small functional change, as kvm_test_age_gfn() will now
return immediately if a young SPTE is found, whereas previously KVM would
continue iterating over other levels.
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
