aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c
diff options
context:
space:
mode:
authorFelix Kuehling <[email protected]>2022-04-07 22:08:03 -0400
committerAlex Deucher <[email protected]>2022-04-12 14:20:13 -0400
commit34d292d57973dd432e93425de33f8f120cfbdab3 (patch)
tree946e92bf1fff15528d472892f0993ea6f176e813 /drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c
parent634c67ee33a7bfb574aba1796d89493ff6614ab7 (diff)
drm/amdkfd: Asynchronously free events
The synchronize_rcu call in destroy_events can take several ms, which noticeably slows down applications destroying many events. Use kfree_rcu to free the event structure asynchronously and eliminate the synchronize_rcu call in the user thread. Signed-off-by: Felix Kuehling <[email protected]> Reviewed-by: Philip Yang <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c')
0 files changed, 0 insertions, 0 deletions