On Tue, Aug 10, 2010 at 10:48 PM, Ben Blum <[email protected]> wrote: > > > Makes procs file writable to move all threads by tgid at once > > From: Ben Blum <[email protected]> > > This patch adds functionality that enables users to move all threads in a > threadgroup at once to a cgroup by writing the tgid to the 'cgroup.procs' > file. This current implementation makes use of a per-threadgroup rwsem that's > taken for reading in the fork() path to prevent newly forking threads within > the threadgroup from "escaping" while the move is in progress. > > Signed-off-by: Ben Blum <[email protected]>
Reviewed-by: Paul Menage <[email protected]> _______________________________________________ Containers mailing list [email protected] https://lists.linux-foundation.org/mailman/listinfo/containers _______________________________________________ Devel mailing list [email protected] https://openvz.org/mailman/listinfo/devel
