]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
sched: RT-balance, replace hooks with pre/post schedule and wakeup methods
authorSteven Rostedt <rostedt@goodmis.org>
Fri, 25 Jan 2008 20:08:22 +0000 (21:08 +0100)
committerIngo Molnar <mingo@elte.hu>
Fri, 25 Jan 2008 20:08:22 +0000 (21:08 +0100)
commit9a897c5a6701bcb6f099f7ca20194999102729fd
tree9c5415d5e2dd115660200cbd246fe1343cd5cd5c
parent4bf0b77158d581c952af237aec79d0604b78fe27
sched: RT-balance, replace hooks with pre/post schedule and wakeup methods

To make the main sched.c code more agnostic to the schedule classes.
Instead of having specific hooks in the schedule code for the RT class
balancing. They are replaced with a pre_schedule, post_schedule
and task_wake_up methods. These methods may be used by any of the classes
but currently, only the sched_rt class implements them.

Signed-off-by: Steven Rostedt <srostedt@redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
include/linux/sched.h
kernel/sched.c
kernel/sched_rt.c