aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/sched_rt.c
diff options
context:
space:
mode:
authorSrivatsa Vaddagiri <vatsa@linux.vnet.ibm.com>2007-10-15 11:00:07 -0400
committerIngo Molnar <mingo@elte.hu>2007-10-15 11:00:07 -0400
commit29f59db3a74b0bdf78a1f5b53ef773caa82692dc (patch)
tree5ac877639bac41d3749d08b7f624bd13052e5ec6 /kernel/sched_rt.c
parent119fe5e06800afc197781ebc8c2d8ca7d03497c8 (diff)
sched: group-scheduler core
Add interface to control cpu bandwidth allocation to task-groups. (not yet configurable, due to missing CONFIG_CONTAINERS) Signed-off-by: Srivatsa Vaddagiri <vatsa@linux.vnet.ibm.com> Signed-off-by: Dhaval Giani <dhaval@linux.vnet.ibm.com> Signed-off-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Diffstat (limited to 'kernel/sched_rt.c')
-rw-r--r--kernel/sched_rt.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/kernel/sched_rt.c b/kernel/sched_rt.c
index 4b87476a02d0..45b339f56aea 100644
--- a/kernel/sched_rt.c
+++ b/kernel/sched_rt.c
@@ -218,6 +218,10 @@ static void task_tick_rt(struct rq *rq, struct task_struct *p)
218 } 218 }
219} 219}
220 220
221static void set_curr_task_rt(struct rq *rq)
222{
223}
224
221static struct sched_class rt_sched_class __read_mostly = { 225static struct sched_class rt_sched_class __read_mostly = {
222 .enqueue_task = enqueue_task_rt, 226 .enqueue_task = enqueue_task_rt,
223 .dequeue_task = dequeue_task_rt, 227 .dequeue_task = dequeue_task_rt,
@@ -230,5 +234,6 @@ static struct sched_class rt_sched_class __read_mostly = {
230 234
231 .load_balance = load_balance_rt, 235 .load_balance = load_balance_rt,
232 236
237 .set_curr_task = set_curr_task_rt,
233 .task_tick = task_tick_rt, 238 .task_tick = task_tick_rt,
234}; 239};