diff options
author | Mike Galbraith <[email protected]> | 2012-04-21 09:13:46 +0200 |
---|---|---|
committer | Tejun Heo <[email protected]> | 2012-04-23 11:03:51 -0700 |
commit | c4c27fbdda4e8ba87806c415b6d15266b07bce4b (patch) | |
tree | e532518e0942a2562642744103eb64554c8abbda /lib/mpi/mpi-add.c | |
parent | 86f82d561864e902c70282b6f17cf590c0f34691 (diff) |
cgroups: disallow attaching kthreadd or PF_THREAD_BOUND threads
Allowing kthreadd to be moved to a non-root group makes no sense, it being
a global resource, and needlessly leads unsuspecting users toward trouble.
1. An RT workqueue worker thread spawned in a task group with no rt_runtime
allocated is not schedulable. Simple user error, but harmful to the box.
2. A worker thread which acquires PF_THREAD_BOUND can never leave a cpuset,
rendering the cpuset immortal.
Save the user some unexpected trouble, just say no.
Signed-off-by: Mike Galbraith <[email protected]>
Acked-by: Peter Zijlstra <[email protected]>
Acked-by: Thomas Gleixner <[email protected]>
Acked-by: Li Zefan <[email protected]>
Signed-off-by: Tejun Heo <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-add.c')
0 files changed, 0 insertions, 0 deletions