summaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorPaul E. McKenney <paulmck@kernel.org>2020-01-25 12:00:40 -0800
committerPaul E. McKenney <paulmck@kernel.org>2020-01-25 12:00:40 -0800
commit59d8cc6b2e375ff486b030da6703b1d481e186e6 (patch)
tree35d3774041670a69e5d894a68c7c3bc18b5368eb /kernel
parent0e247386d9ed5ab8b7dad010cf4b183efeb1e47d (diff)
downloadlinux-59d8cc6b2e375ff486b030da6703b1d481e186e6.tar.gz
linux-59d8cc6b2e375ff486b030da6703b1d481e186e6.tar.bz2
linux-59d8cc6b2e375ff486b030da6703b1d481e186e6.zip
rcu: Forgive slow expedited grace periods at boot time
Boot-time processing often loops in the kernel longer than one might prefer, which can prevent expedited grace periods from completing in a timely manner. This in turn triggers a splat In nohz_full CPUs One could argue that long-looping code should be fixed, but on the other hand, boot time is a bit special. This commit therefore removes the splat. Later commits will add the splat back in, but in a way that removes false positives. Reported-by: Borislav Petkov <bp@alien8.de> Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Diffstat (limited to 'kernel')
-rw-r--r--kernel/rcu/tree_exp.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/kernel/rcu/tree_exp.h b/kernel/rcu/tree_exp.h
index 6935a9e2b094..dcbd75791f39 100644
--- a/kernel/rcu/tree_exp.h
+++ b/kernel/rcu/tree_exp.h
@@ -508,7 +508,6 @@ static void synchronize_rcu_expedited_wait(void)
tick_dep_set_cpu(cpu, TICK_DEP_BIT_RCU_EXP);
}
}
- WARN_ON_ONCE(1);
}
for (;;) {