]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
sched: group scheduling, minor fixes
authorSrivatsa Vaddagiri <vatsa@linux.vnet.ibm.com>
Fri, 25 Jan 2008 20:07:59 +0000 (21:07 +0100)
committerIngo Molnar <mingo@elte.hu>
Fri, 25 Jan 2008 20:07:59 +0000 (21:07 +0100)
commitec2c507fe8c8fa3c04fc6cb99a382a965c477379
treef139f738ba08576318ec09047148cdc7ae33ac9b
parent93f992ccc008dd4030381caeebb252e85e66684b
sched: group scheduling, minor fixes

Minor bug fixes for the group scheduler:

- Use a mutex to serialize add/remove of task groups and also when
  changing shares of a task group. Use the same mutex when printing
  cfs_rq debugging stats for various task groups.

- Use list_for_each_entry_rcu in for_each_leaf_cfs_rq macro (when
  walking task group list)

Signed-off-by: Srivatsa Vaddagiri <vatsa@linux.vnet.ibm.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/sched.c
kernel/sched_fair.c