Skip to content

Commit

Permalink
nohz: Remove "Switched to NOHz mode" debugging messages
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Heiko Carstens authored and Thomas Gleixner committed Sep 8, 2011
1 parent a25cac5 commit 29c158e
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions kernel/time/tick-sched.c
Original file line number Diff line number Diff line change
Expand Up @@ -669,8 +669,6 @@ static void tick_nohz_switch_to_nohz(void)
next = ktime_add(next, tick_period);
}
local_irq_enable();

printk(KERN_INFO "Switched to NOHz mode on CPU #%d\n", smp_processor_id());
}

/*
Expand Down Expand Up @@ -822,10 +820,8 @@ void tick_setup_sched_timer(void)
}

#ifdef CONFIG_NO_HZ
if (tick_nohz_enabled) {
if (tick_nohz_enabled)
ts->nohz_mode = NOHZ_MODE_HIGHRES;
printk(KERN_INFO "Switched to NOHz mode on CPU #%d\n", smp_processor_id());
}
#endif
}
#endif /* HIGH_RES_TIMERS */
Expand Down

0 comments on commit 29c158e

Please sign in to comment.