rcu: Do not disable GP stall detection in rcu_cpu_stall_reset()
authorSergey Senozhatsky <senozhatsky@chromium.org>
Fri, 21 May 2021 15:56:24 +0000 (00:56 +0900)
committerPaul E. McKenney <paulmck@kernel.org>
Fri, 6 Aug 2021 20:41:48 +0000 (13:41 -0700)
commita80be428fbc1f1f3bc9ed9245906dd60850887f5
treeca24e2c5fcda452c3e40beedc1eb20597a442623
parentccfc9dd6914feaa9a81f10f9cce56eb0f7712264
rcu: Do not disable GP stall detection in rcu_cpu_stall_reset()

rcu_cpu_stall_reset() is one of the functions virtual CPUs
execute during VM resume in order to handle jiffies skew
that can trigger false positive stall warnings. Paul has
pointed out that this approach is problematic because
rcu_cpu_stall_reset() disables RCU grace period stall-detection
virtually forever, while in fact it can just restart the
stall-detection timeout.

Suggested-by: "Paul E. McKenney" <paulmck@kernel.org>
Signed-off-by: Sergey Senozhatsky <senozhatsky@chromium.org>
Signed-off-by: Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
kernel/rcu/tree_stall.h