Re: [PATCH v5 7/11] drm/amdkfd: Asynchronously free smi_client

2022-06-30 Thread Felix Kuehling
Am 2022-06-28 um 10:50 schrieb Philip Yang: 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

[PATCH v5 7/11] drm/amdkfd: Asynchronously free smi_client

2022-06-28 Thread Philip Yang
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 ---