]> git.karo-electronics.de Git - karo-tx-linux.git/commit
sched: Optimize unused cgroup configuration
authorPeter Zijlstra <a.p.zijlstra@chello.nl>
Wed, 3 Jun 2009 13:41:20 +0000 (15:41 +0200)
committerIngo Molnar <mingo@elte.hu>
Sun, 2 Aug 2009 12:26:07 +0000 (14:26 +0200)
commite709715915d69b6a929d77e7652c9c3fea61c317
tree69ed9845b4b4c412cc17d59469e46ebb41de0c31
parenta5004278f0525dcb9aa43703ef77bf371ea837cd
sched: Optimize unused cgroup configuration

When cgroup group scheduling is built in, skip some code paths
if we don't have any (but the root) cgroups configured.

Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/sched.c