Mandeep Singh Baines wrote: > threadgroup_lock() guarantees that the target threadgroup will > remain stable - no new task will be added, no new PF_EXITING > will be set and exec won't happen. > > Changes in V2: > * https://lkml.org/lkml/2011/12/20/369 (Tejun Heo) > * Undo incorrect removal of get/put from attach_task_by_pid() > * Author > * Remove a comment which is made stale by this change > > Signed-off-by: Mandeep Singh Baines <msb@xxxxxxxxxxxx> Acked-by: Li Zefan <lizf@xxxxxxxxxxxxxx> > Cc: Tejun Heo <tj@xxxxxxxxxx> > Cc: Li Zefan <lizf@xxxxxxxxxxxxxx> > Cc: containers@xxxxxxxxxxxxxxxxxxxxxxxxxx > Cc: cgroups@xxxxxxxxxxxxxxx > Cc: KAMEZAWA Hiroyuki <kamezawa.hiroyu@xxxxxxxxxxxxxx> > Cc: Frederic Weisbecker <fweisbec@xxxxxxxxx> > Cc: Oleg Nesterov <oleg@xxxxxxxxxx> > Cc: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> > Cc: Paul Menage <paul@xxxxxxxxxxxxxx> > --- > kernel/cgroup.c | 11 ++--------- > 1 files changed, 2 insertions(+), 9 deletions(-) -- To unsubscribe from this list: send the line "unsubscribe cgroups" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html