aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c
diff options
context:
space:
mode:
authorTang Yizhou <[email protected]>2025-07-27 17:39:57 +0000
committerJens Axboe <[email protected]>2025-08-11 16:21:38 +0000
commitd8b96a79622e03813c221450498ca9742704ebf2 (patch)
tree44eef75404704cc338420bfb7b3013f6c189fb58 /drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c
parentblock: fix kobject double initialization in add_disk (diff)
downloadkernel-d8b96a79622e03813c221450498ca9742704ebf2.tar.gz
kernel-d8b96a79622e03813c221450498ca9742704ebf2.zip
blk-wbt: Optimize wbt_done() for non-throttled writes
In the current implementation, the sync_cookie and last_cookie members of struct rq_wb are used only by read requests and not by non-throttled write requests. Based on this, we can optimize wbt_done() by removing one if condition check for non-throttled write requests. Signed-off-by: Tang Yizhou <[email protected]> Reviewed-by: Jan Kara <[email protected]> Reviewed-by: Yu Kuai <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c')
0 files changed, 0 insertions, 0 deletions