diff options
author | Peter Enderborg <peter.enderborg@sony.com> | 2020-06-04 12:23:20 +0200 |
---|---|---|
committer | Paul E. McKenney <paulmck@kernel.org> | 2020-06-29 11:58:51 -0700 |
commit | c6dfd72b7a3b70a2054db0f73245ea2f762a8452 (patch) | |
tree | de84fe185c47b0945e168f5ee0220699289ed060 /kernel/rcu/tree.h | |
parent | e40bb921119814c6f746891af9cd37eccda616a4 (diff) |
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