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 /kernel/time/tick-sched.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 'kernel/time/tick-sched.c')
-rw-r--r-- | kernel/time/tick-sched.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/kernel/time/tick-sched.c b/kernel/time/tick-sched.c index bb2d8b7850a3..0c0e02f1b819 100644 --- a/kernel/time/tick-sched.c +++ b/kernel/time/tick-sched.c | |||
@@ -19,7 +19,6 @@ | |||
19 | #include <linux/percpu.h> | 19 | #include <linux/percpu.h> |
20 | #include <linux/profile.h> | 20 | #include <linux/profile.h> |
21 | #include <linux/sched.h> | 21 | #include <linux/sched.h> |
22 | #include <linux/tick.h> | ||
23 | #include <linux/module.h> | 22 | #include <linux/module.h> |
24 | 23 | ||
25 | #include <asm/irq_regs.h> | 24 | #include <asm/irq_regs.h> |
@@ -642,8 +641,7 @@ static void tick_nohz_switch_to_nohz(void) | |||
642 | } | 641 | } |
643 | local_irq_enable(); | 642 | local_irq_enable(); |
644 | 643 | ||
645 | printk(KERN_INFO "Switched to NOHz mode on CPU #%d\n", | 644 | printk(KERN_INFO "Switched to NOHz mode on CPU #%d\n", smp_processor_id()); |
646 | smp_processor_id()); | ||
647 | } | 645 | } |
648 | 646 | ||
649 | /* | 647 | /* |
@@ -842,8 +840,10 @@ void tick_setup_sched_timer(void) | |||
842 | } | 840 | } |
843 | 841 | ||
844 | #ifdef CONFIG_NO_HZ | 842 | #ifdef CONFIG_NO_HZ |
845 | if (tick_nohz_enabled) | 843 | if (tick_nohz_enabled) { |
846 | ts->nohz_mode = NOHZ_MODE_HIGHRES; | 844 | ts->nohz_mode = NOHZ_MODE_HIGHRES; |
845 | printk(KERN_INFO "Switched to NOHz mode on CPU #%d\n", smp_processor_id()); | ||
846 | } | ||
847 | #endif | 847 | #endif |
848 | } | 848 | } |
849 | #endif /* HIGH_RES_TIMERS */ | 849 | #endif /* HIGH_RES_TIMERS */ |