diff options
| author | Ben Blum <[email protected]> | 2009-09-23 15:56:31 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2009-09-24 07:20:58 -0700 |
| commit | be367d09927023d081f9199665c8500f69f14d22 (patch) | |
| tree | f0c5b9da037506da3c5890cf11b51b39a7d3c427 /scripts/patch-kernel | |
| parent | c378369d8b4fa516ff2b1e79c3eded4e0e955ebb (diff) | |
cgroups: let ss->can_attach and ss->attach do whole threadgroups at a time
Alter the ss->can_attach and ss->attach functions to be able to deal with
a whole threadgroup at a time, for use in cgroup_attach_proc. (This is a
pre-patch to cgroup-procs-writable.patch.)
Currently, new mode of the attach function can only tell the subsystem
about the old cgroup of the threadgroup leader. No subsystem currently
needs that information for each thread that's being moved, but if one were
to be added (for example, one that counts tasks within a group) this bit
would need to be reworked a bit to tell the subsystem the right
information.
[[email protected]: fix build]
Signed-off-by: Ben Blum <[email protected]>
Signed-off-by: Paul Menage <[email protected]>
Acked-by: Li Zefan <[email protected]>
Reviewed-by: Matt Helsley <[email protected]>
Cc: "Eric W. Biederman" <[email protected]>
Cc: Oleg Nesterov <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: Dave Young <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions