diff options
author | Andrea Bastoni <bastoni@cs.unc.edu> | 2011-08-27 09:43:54 -0400 |
---|---|---|
committer | Andrea Bastoni <bastoni@cs.unc.edu> | 2011-08-27 10:06:11 -0400 |
commit | 7b1bb388bc879ffcc6c69b567816d5c354afe42b (patch) | |
tree | 5a217fdfb0b5e5a327bdcd624506337c1ae1fe32 /litmus/sched_litmus.c | |
parent | 7d754596756240fa918b94cd0c3011c77a638987 (diff) | |
parent | 02f8c6aee8df3cdc935e9bdd4f2d020306035dbe (diff) |
Merge 'Linux v3.0' into Litmus
Some notes:
* Litmus^RT scheduling class is the topmost scheduling class
(above stop_sched_class).
* scheduler_ipi() function (e.g., in smp_reschedule_interrupt())
may increase IPI latencies.
* Added path into schedule() to quickly re-evaluate scheduling
decision without becoming preemptive again. This used to be
a standard path before the removal of BKL.
Conflicts:
Makefile
arch/arm/kernel/calls.S
arch/arm/kernel/smp.c
arch/x86/include/asm/unistd_32.h
arch/x86/kernel/smp.c
arch/x86/kernel/syscall_table_32.S
include/linux/hrtimer.h
kernel/printk.c
kernel/sched.c
kernel/sched_fair.c
Diffstat (limited to 'litmus/sched_litmus.c')
-rw-r--r-- | litmus/sched_litmus.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/litmus/sched_litmus.c b/litmus/sched_litmus.c index e6952896dc4b..cb705e7f0466 100644 --- a/litmus/sched_litmus.c +++ b/litmus/sched_litmus.c | |||
@@ -294,7 +294,12 @@ static int select_task_rq_litmus(struct rq *rq, struct task_struct *p, | |||
294 | #endif | 294 | #endif |
295 | 295 | ||
296 | static const struct sched_class litmus_sched_class = { | 296 | static const struct sched_class litmus_sched_class = { |
297 | .next = &rt_sched_class, | 297 | /* From 34f971f6 the stop/migrate worker threads have a class on |
298 | * their own, which is the highest prio class. We don't support | ||
299 | * cpu-hotplug or cpu throttling. Allows Litmus to use up to 1.0 | ||
300 | * CPU capacity. | ||
301 | */ | ||
302 | .next = &stop_sched_class, | ||
298 | .enqueue_task = enqueue_task_litmus, | 303 | .enqueue_task = enqueue_task_litmus, |
299 | .dequeue_task = dequeue_task_litmus, | 304 | .dequeue_task = dequeue_task_litmus, |
300 | .yield_task = yield_task_litmus, | 305 | .yield_task = yield_task_litmus, |