diff options
author | Philip Yang <Philip.Yang@amd.com> | 2022-04-08 10:25:11 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2022-06-30 15:31:30 -0400 |
commit | 414e9f520e897818302a6b1729aa2dad8cc928ca (patch) | |
tree | 561dd9e0628342e32206655964bfdfa6e6fffed0 /drivers/gpu/drm/amd/amdgpu/amdgpu_ras.h | |
parent | 46ae2af9a8aa168cbad69f21bb1426771339ac9a (diff) |
drm/amdkfd: Asynchronously free smi_client
The synchronize_rcu may take several ms, which noticeably slows down
applications close SMI event handle. Use call_rcu to free client->fifo
and client asynchronously and eliminate the synchronize_rcu call in the
user thread.
Signed-off-by: Philip Yang <Philip.Yang@amd.com>
Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ras.h')
0 files changed, 0 insertions, 0 deletions