diff options
author | Heiko Carstens <heiko.carstens@de.ibm.com> | 2011-08-23 07:20:46 -0400 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2011-09-08 05:10:55 -0400 |
commit | 29c158e81c733ac7d6a75c5ee929f34fb9f92983 (patch) | |
tree | ba15b52ae3474f2451b3c2301413da05606ccdaf /kernel/time/tick-sched.c | |
parent | a25cac5198d4ff2842ccca63b423962848ad24b2 (diff) |
nohz: Remove "Switched to NOHz mode" debugging messages
When performing cpu hotplug tests the kernel printk log buffer gets flooded
with pointless "Switched to NOHz mode..." messages. Especially when afterwards
analyzing a dump this might have removed more interesting stuff out of the
buffer.
Assuming that switching to NOHz mode simply works just remove the printk.
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Link: http://lkml.kernel.org/r/20110823112046.GB2540@osiris.boeblingen.de.ibm.com
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'kernel/time/tick-sched.c')
-rw-r--r-- | kernel/time/tick-sched.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/kernel/time/tick-sched.c b/kernel/time/tick-sched.c index 664c4a365439..7e2e0817cbfb 100644 --- a/kernel/time/tick-sched.c +++ b/kernel/time/tick-sched.c | |||
@@ -669,8 +669,6 @@ static void tick_nohz_switch_to_nohz(void) | |||
669 | next = ktime_add(next, tick_period); | 669 | next = ktime_add(next, tick_period); |
670 | } | 670 | } |
671 | local_irq_enable(); | 671 | local_irq_enable(); |
672 | |||
673 | printk(KERN_INFO "Switched to NOHz mode on CPU #%d\n", smp_processor_id()); | ||
674 | } | 672 | } |
675 | 673 | ||
676 | /* | 674 | /* |
@@ -822,10 +820,8 @@ void tick_setup_sched_timer(void) | |||
822 | } | 820 | } |
823 | 821 | ||
824 | #ifdef CONFIG_NO_HZ | 822 | #ifdef CONFIG_NO_HZ |
825 | if (tick_nohz_enabled) { | 823 | if (tick_nohz_enabled) |
826 | ts->nohz_mode = NOHZ_MODE_HIGHRES; | 824 | ts->nohz_mode = NOHZ_MODE_HIGHRES; |
827 | printk(KERN_INFO "Switched to NOHz mode on CPU #%d\n", smp_processor_id()); | ||
828 | } | ||
829 | #endif | 825 | #endif |
830 | } | 826 | } |
831 | #endif /* HIGH_RES_TIMERS */ | 827 | #endif /* HIGH_RES_TIMERS */ |