aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
diff options
context:
space:
mode:
authorEddy Wu <[email protected]>2020-11-07 06:47:22 +0000
committerLinus Torvalds <[email protected]>2020-11-08 19:18:39 +0000
commitb4e00444cab4c3f3fec876dc0cccc8cbb0d1a948 (patch)
tree72e12c5023507b955eed888011eca19f579a38ed /drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
parentMerge tag 'xfs-5.10-fixes-3' of git://git.kernel.org/pub/scm/fs/xfs/xfs-linux (diff)
downloadkernel-b4e00444cab4c3f3fec876dc0cccc8cbb0d1a948.tar.gz
kernel-b4e00444cab4c3f3fec876dc0cccc8cbb0d1a948.zip
fork: fix copy_process(CLONE_PARENT) race with the exiting ->real_parent
current->group_leader->exit_signal may change during copy_process() if current->real_parent exits. Move the assignment inside tasklist_lock to avoid the race. Signed-off-by: Eddy Wu <[email protected]> Acked-by: Oleg Nesterov <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c')
0 files changed, 0 insertions, 0 deletions