diff options
author | Frederic Weisbecker <fweisbec@gmail.com> | 2013-06-08 07:47:31 -0400 |
---|---|---|
committer | Frederic Weisbecker <fweisbec@gmail.com> | 2013-06-20 09:46:43 -0400 |
commit | 5b8621a68fdcd2baf1d3b413726f913a5254d46a (patch) | |
tree | 936ee10cd6fc62f6e7a31fc5d2d2e8ed657bd371 /kernel | |
parent | 940be35ac0139530d7554aa2352a8388e3d4adca (diff) |
nohz: Remove obsolete check for full dynticks CPUs to be RCU nocbs
Building full dynticks now implies that all CPUs are forced
into RCU nocb mode through CONFIG_RCU_NOCB_CPU_ALL.
The dynamic check has become useless.
Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Steven Rostedt <rostedt@goodmis.org>
Cc: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Cc: Ingo Molnar <mingo@kernel.org>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Li Zhong <zhong@linux.vnet.ibm.com>
Cc: Borislav Petkov <bp@alien8.de>
Diffstat (limited to 'kernel')
-rw-r--r-- | kernel/time/tick-sched.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/kernel/time/tick-sched.c b/kernel/time/tick-sched.c index d87d22cb9bf2..b15750139260 100644 --- a/kernel/time/tick-sched.c +++ b/kernel/time/tick-sched.c | |||
@@ -351,16 +351,6 @@ void __init tick_nohz_init(void) | |||
351 | } | 351 | } |
352 | 352 | ||
353 | cpu_notifier(tick_nohz_cpu_down_callback, 0); | 353 | cpu_notifier(tick_nohz_cpu_down_callback, 0); |
354 | |||
355 | /* Make sure full dynticks CPU are also RCU nocbs */ | ||
356 | for_each_cpu(cpu, nohz_full_mask) { | ||
357 | if (!rcu_is_nocb_cpu(cpu)) { | ||
358 | pr_warning("NO_HZ: CPU %d is not RCU nocb: " | ||
359 | "cleared from nohz_full range", cpu); | ||
360 | cpumask_clear_cpu(cpu, nohz_full_mask); | ||
361 | } | ||
362 | } | ||
363 | |||
364 | cpulist_scnprintf(nohz_full_buf, sizeof(nohz_full_buf), nohz_full_mask); | 354 | cpulist_scnprintf(nohz_full_buf, sizeof(nohz_full_buf), nohz_full_mask); |
365 | pr_info("NO_HZ: Full dynticks CPUs: %s.\n", nohz_full_buf); | 355 | pr_info("NO_HZ: Full dynticks CPUs: %s.\n", nohz_full_buf); |
366 | } | 356 | } |