Commit 4fb09fb4 authored by Frederic Weisbecker's avatar Frederic Weisbecker Committed by Todd Kjos
Browse files

UPSTREAM: rcu: Fix missing nocb gp wake on rcu_barrier()



In preparation for RCU lazy changes, wake up the RCU nocb gp thread if
needed after an entrain.  This change prevents the RCU barrier callback
from waiting in the queue for several seconds before the lazy callbacks
in front of it are serviced.

Reported-by: default avatarJoel Fernandes (Google) <joel@joelfernandes.org>
Signed-off-by: default avatarFrederic Weisbecker <frederic@kernel.org>
Signed-off-by: default avatarJoel Fernandes (Google) <joel@joelfernandes.org>
Signed-off-by: default avatarPaul E. McKenney <paulmck@kernel.org>
(cherry picked from commit b8f7aca3)

Bug: 258241771
Signed-off-by: default avatarJoel Fernandes <joelaf@google.com>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/kernel/+/4909029


Reviewed-by: default avatarSean Paul <sean@poorly.run>
Reviewed-by: default avatarVineeth Pillai <vineethrp@google.com>
Signed-off-by: default avatarQais Yousef <qyousef@google.com>
Change-Id: Ib55c5886764b74df22531eca35f076ef7acc08dd
parent 64c59ad2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment