aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c
diff options
context:
space:
mode:
authorPavel Begunkov <[email protected]>2025-01-28 20:56:15 +0000
committerJens Axboe <[email protected]>2025-01-28 22:10:40 +0000
commit0d124578fed92cadeaca47d734da782beacdc1a7 (patch)
treea9cf788d7f4f2362e9e291be9226c48eb4690111 /drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c
parentio_uring/net: extract io_send_select_buffer() (diff)
downloadkernel-0d124578fed92cadeaca47d734da782beacdc1a7.tar.gz
kernel-0d124578fed92cadeaca47d734da782beacdc1a7.zip
io_uring: remove !KASAN guards from cache free
Test setups (with KASAN) will avoid !KASAN sections, and so it's not testing paths that would be exercised otherwise. That's bad as to be sure that your code works you now have to specifically test both KASAN and !KASAN configs. Remove !CONFIG_KASAN guards from io_netmsg_cache_free() and io_rw_cache_free(). The free functions should always be getting valid entries, and even though for KASAN iovecs should already be cleared, that's better than skipping the chunks completely. Signed-off-by: Pavel Begunkov <[email protected]> Reviewed-by: Gabriel Krisman Bertazi <[email protected]> Link: https://lore.kernel.org/r/d6078a51c7137a243f9d00849bc3daa660873209.1738087204.git.asml.silence@gmail.com Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c')
0 files changed, 0 insertions, 0 deletions