Commit 90f8b925 authored by Vineeth Pillai's avatar Vineeth Pillai Committed by Chromeos LUCI
Browse files

BACKPORT: FROMGIT: rcu: Shrinker for lazy rcu

The shrinker is used to speed up the free'ing of memory potentially held
by RCU lazy callbacks. RCU kernel module test cases show this to be
effective. Test is introduced in a later patch.

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

 rcu/next)

(
Backport: Patch tree_plugin.h instead of tree_nocb.h,
	  register_shrinker changes,
	  changed to wake_nocb_gp call site (due to locking).
)

BUG=b:222463781
TEST=powerIdle lab tests.

Signed-off-by: default avatarVineeth Pillai <vineeth@bitbyteword.org>
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/+/3965073


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