Commit 0a36bc8b authored by Joel Fernandes (Google)'s avatar Joel Fernandes (Google) Committed by Chromeos LUCI
Browse files

FROMGIT: rxrpc: Use call_rcu_flush() instead of call_rcu()

call_rcu() changes to save power may cause slowness. Use the
call_rcu_flush() API instead which reverts to the old behavior.

We find this via inspection that the RCU callback does a wakeup of a
thread. This usually indicates that something is waiting on it. To be
safe, let us use call_rcu_flush() here instead.

(cherry picked from commit f32846476afbe1f296c41d036219178b3dfb6a9d
 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 (Google) <joel@joelfernandes.org>
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/+/3965078


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