aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/omapdrm/omap_fbdev.c
diff options
context:
space:
mode:
authorOleg Nesterov <[email protected]>2015-11-27 18:57:22 +0000
committerTejun Heo <[email protected]>2015-11-30 14:48:18 +0000
commitafbcb364bee9e7cf46c94257a82cb9760b6d254f (patch)
tree0258ae0534c2d1933da6bf445b840db067a50941 /drivers/gpu/drm/omapdrm/omap_fbdev.c
parentcgroup: pids: fix race between cgroup_post_fork() and cgroup_migrate() (diff)
downloadkernel-afbcb364bee9e7cf46c94257a82cb9760b6d254f.tar.gz
kernel-afbcb364bee9e7cf46c94257a82cb9760b6d254f.zip
cgroup: pids: kill pids_fork(), simplify pids_can_fork() and pids_cancel_fork()
Now that we know that the forking task can't migrate amd the child is always moved to the same cgroup by cgroup_post_fork()->css_set_move_task() we can change pids_can_fork() and pids_cancel_fork() to just use task_css(current). And since we no longer need to pin this css, we can remove pid_fork(). Note: the patch uses task_css_check(true), perhaps it makes sense to add a helper or change task_css_set_check() to take cgroup_threadgroup_rwsem into account. Signed-off-by: Oleg Nesterov <[email protected]> Acked-by: Zefan Li <[email protected]> Signed-off-by: Tejun Heo <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/omapdrm/omap_fbdev.c')
0 files changed, 0 insertions, 0 deletions