diff options
| author | Zhu Lingshan <lingshan.zhu@amd.com> | 2026-07-01 16:08:12 +0800 |
|---|---|---|
| committer | Alex Deucher <alexander.deucher@amd.com> | 2026-07-08 16:45:41 -0400 |
| commit | a88419af8dbd5abf8b1dfdfd9346376bce5413b4 (patch) | |
| tree | ca1eec59302e5536d5ccc5137130f112435ab75c /rust/zerocopy/git@git.tavy.me:linux-stable.git | |
| parent | 8a93f77aec65574b8152c88eb73613336f92f86b (diff) | |
amdkfd: properly free secondary context id
Function kfd_process_free_id() should skip over
the primary kfd process because its context id
is fixed assigned, not allocated through the ida table.
This function should only work on secondary contexts.
Fixes: fac682a1d1af ("amdkfd: identify a secondary kfd process by its id")
Signed-off-by: Zhu Lingshan <lingshan.zhu@amd.com>
Reviewed-by: Felix Kuehling <felix.kuehling@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
(cherry picked from commit 8799ba6fb6a48438aea20c82e74c2f2a3d2b2e7a)
Cc: stable@vger.kernel.org
Diffstat (limited to 'rust/zerocopy/git@git.tavy.me:linux-stable.git')
0 files changed, 0 insertions, 0 deletions
