[git pull] scheduler updates

From: Ingo Molnar
Date: Wed Feb 13 2008 - 10:59:03 EST



Linus, please pull the latest scheduler git tree from:

git://git.kernel.org/pub/scm/linux/kernel/git/mingo/linux-2.6-sched.git

Find the shortlog and diffstat below.

The main body of this tree is about resolving interactions between the
group scheduler and the new rt_ratio API. This restructuring also fixes
an -rc1 bug where tasks would try to gain RT privileges that were in an
UID group by default which had no RT runtime assigned to them -
resulting in those tasks not running at all.

Furthermore, Peter found that the "ratio" API was a bit unfortunate
choice (which causes some arbitrary granularity to be chosen) so it's
microseconds based now. Also, RT group scheduling is now selectable in
the .config (off by default). These all got a bit intrusive [and had a
bug that took some time to find] so i kept testing it for a while so it
missed -rc1.

It's good IMO and most of the code is default-disabled - but if this
looks too complex our other option would be to disable the new RT bits
in .25 and do it in .26.

Ingo

------------------>
Peter Zijlstra (8):
hrtimer: more hrtimer_init_sleeper() fallout.
sched: fair-group: separate tg->shares from task_group_lock
sched: fix incorrect irq lock usage in normalize_rt_tasks()
sched: rt-group: deal with PI
sched: rt-group: interface
sched: rt-group: make rt groups scheduling configurable
sched: rt-group: clean up the ifdeffery
sched: rt-group: refure unrunnable tasks

Documentation/sched-rt-group.txt | 59 +++++
include/linux/cgroup_subsys.h | 2 +-
include/linux/sched.h | 18 +-
init/Kconfig | 23 ++-
kernel/rtmutex.c | 5 +-
kernel/sched.c | 494 +++++++++++++++++++++++++++----------
kernel/sched_rt.c | 102 +++++---
kernel/sysctl.c | 32 ++--
kernel/user.c | 50 ++++-
9 files changed, 576 insertions(+), 209 deletions(-)
create mode 100644 Documentation/sched-rt-group.txt

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/