]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/amd: kill the outdated "Only the pthreads threading model is supported" checks
authorOleg Nesterov <oleg@redhat.com>
Sun, 25 Jan 2026 16:07:36 +0000 (17:07 +0100)
committerAndrew Morton <akpm@linux-foundation.org>
Tue, 3 Feb 2026 16:21:25 +0000 (08:21 -0800)
commita87da7a9fa7b5c39b01d7fa30415c9211e775f2e
tree5e74559cc7861249cf612d50bddd2b73167c9765
parent7d08e0916a59e006c262dcd2f7168d0336c80265
drm/amd: kill the outdated "Only the pthreads threading model is supported" checks

Nowadays task->group_leader->mm != task->mm is only possible if a) task is
not a group leader and b) task->group_leader->mm == NULL because
task->group_leader has already exited using sys_exit().

I don't think that drm/amd tries to detect/nack this case.

Link: https://lkml.kernel.org/r/aXY_yLVHd63UlWtm@redhat.com
Signed-off-by: Oleg Nesterov <oleg@redhat.com>
Reviewed-by: Christan König <christian.koenig@amd.com>
Acked-by: Felix Kuehling <felix.kuehling@amd.com>
Cc: Alice Ryhl <aliceryhl@google.com>
Cc: Boris Brezillon <boris.brezillon@collabora.com>
Cc: David S. Miller <davem@davemloft.net>
Cc: Eric Dumazet <edumazet@google.com>
Cc: Jakub Kicinski <kuba@kernel.org>
Cc: Leon Romanovsky <leon@kernel.org>
Cc: Paolo Abeni <pabeni@redhat.com>
Cc: Simon Horman <horms@kernel.org>
Cc: Steven Price <steven.price@arm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c
drivers/gpu/drm/amd/amdkfd/kfd_process.c