aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
diff options
context:
space:
mode:
authorQuan Zhou <[email protected]>2025-06-11 09:51:40 +0000
committerAnup Patel <[email protected]>2025-07-28 16:58:31 +0000
commit07a289a031404ec583c01d8e87680d434fc62c1f (patch)
tree59b70c42c2cef0f21f71a0789c18ea864a5a3cc9 /drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
parentRISC-V: KVM: Use find_vma_intersection() to search for intersecting VMAs (diff)
downloadkernel-07a289a031404ec583c01d8e87680d434fc62c1f.tar.gz
kernel-07a289a031404ec583c01d8e87680d434fc62c1f.zip
RISC-V: KVM: Avoid re-acquiring memslot in kvm_riscv_gstage_map()
The caller has already passed in the memslot, and there are two instances `{kvm_faultin_pfn/mark_page_dirty}` of retrieving the memslot again in `kvm_riscv_gstage_map`, we can replace them with `{__kvm_faultin_pfn/mark_page_dirty_in_slot}`. Signed-off-by: Quan Zhou <[email protected]> Reviewed-by: Anup Patel <[email protected]> Link: https://lore.kernel.org/r/50989f0a02790f9d7dc804c2ade6387c4e7fbdbc.1749634392.git.zhouquan@iscas.ac.cn Signed-off-by: Anup Patel <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_device.c')
0 files changed, 0 insertions, 0 deletions