aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/rcu/tree.h
diff options
context:
space:
mode:
authorPeter Enderborg <peter.enderborg@sony.com>2020-06-04 12:23:20 +0200
committerPaul E. McKenney <paulmck@kernel.org>2020-06-29 11:58:51 -0700
commitc6dfd72b7a3b70a2054db0f73245ea2f762a8452 (patch)
treede84fe185c47b0945e168f5ee0220699289ed060 /kernel/rcu/tree.h
parentrcu: Replace 1 with true (diff)
downloadlinux-dev-c6dfd72b7a3b70a2054db0f73245ea2f762a8452.tar.xz
linux-dev-c6dfd72b7a3b70a2054db0f73245ea2f762a8452.zip
rcu: Stop shrinker loop
The count and scan can be separated in time, and there is a fair chance that all work is already done when the scan starts, which might in turn result in a needless retry. This commit therefore avoids this retry by returning SHRINK_STOP. Reviewed-by: Uladzislau Rezki (Sony) <urezki@gmail.com> Signed-off-by: Peter Enderborg <peter.enderborg@sony.com> Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Diffstat (limited to 'kernel/rcu/tree.h')
0 files changed, 0 insertions, 0 deletions