Commit c570c8fe authored by Vineeth Pillai's avatar Vineeth Pillai Committed by Todd Kjos
Browse files

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

Signed-off-by: default avatarVineeth Pillai <vineeth@bitbyteword.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 c945b4da)

Conflicts:
   kernel/rcu/tree_nocb.h

Trivial conflict due to: "rcu/nocb: Add an option to offload all CPUs on boot"

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


Reviewed-by: default avatarVineeth Pillai <vineethrp@google.com>
Signed-off-by: default avatarQais Yousef <qyousef@google.com>
Change-Id: I6a73a9dae79ff35feca37abe2663e55a0f46dda8
parent 49575794
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment