aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/mem-phys-addr.py
diff options
context:
space:
mode:
authorZqiang <[email protected]>2023-01-30 15:17:37 +0800
committerJoel Fernandes (Google) <[email protected]>2023-04-05 13:47:43 +0000
commit2450b78e0bb1e034eaa2a33dca689282bd8c892a (patch)
treed289de27675ab21ee8a723e069252e5cf7b0d2b1 /tools/perf/scripts/python/mem-phys-addr.py
parentdb7b464df9d820186e98a65aa6a10f0d51fbf8ce (diff)
rcu: Register rcu-lazy shrinker only for CONFIG_RCU_LAZY=y kernels
The lazy_rcu_shrink_count() shrinker function is registered even in kernels built with CONFIG_RCU_LAZY=n, in which case this function uselessly consumes cycles learning that no CPU has any lazy callbacks queued. This commit therefore registers this shrinker function only in the kernels built with CONFIG_RCU_LAZY=y, where it might actually do something useful. Signed-off-by: Zqiang <[email protected]> Reviewed-by: Frederic Weisbecker <[email protected]> Reviewed-by: Joel Fernandes (Google) <[email protected]> Signed-off-by: Paul E. McKenney <[email protected]> Signed-off-by: Joel Fernandes (Google) <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions