Commit a5fff3bc authored by Frederic Weisbecker's avatar Frederic Weisbecker Committed by Chromeos LUCI
Browse files

BACKPORT: FROMGIT: 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>

(Backport: Adjustments due to changes in how wake_nocb_gp() locks)

(cherry picked from commit b8f7aca3
 https://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git

 rcu/next)

BUG=b:222463781
TEST=powerIdle lab tests.

Signed-off-by: default avatarJoel Fernandes <joelaf@google.com>
Signed-off-by: default avatarParshuram Sangle <parshuram.sangle@intel.corp-partner.google.com>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/kernel/+/3965070


Reviewed-by: default avatarRoss Zwisler <zwisler@google.com>
Change-Id: I830269cd41b18862a1a58b26ce3292c6c4457bc7
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/kernel/+/4067578
parent a5bd31f6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment