aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorAlexander Gordeev <[email protected]>2015-06-03 08:18:28 +0200
committerPaul E. McKenney <[email protected]>2015-07-15 14:45:18 -0700
commit05b84aec465c34da242a224d2438d192ca0feec7 (patch)
tree4dc8cca8a45e4bea1eb40f71ad42c7325c6b6069 /tools/perf/scripts/python/stackcollapse.py
parenta6d77081e266605c9f4d8c11e0ee00468b9dc614 (diff)
rcu: Limit rcu_capacity[] size to RCU_NUM_LVLS items
Number of items in rcu_capacity[] array is defined by macro MAX_RCU_LVLS. However, that array is never accessed beyond RCU_NUM_LVLS index. Therefore, we can limit the array to RCU_NUM_LVLS items and eliminate MAX_RCU_LVLS. As result, in most cases the memory is conserved. Cc: "Paul E. McKenney" <[email protected]> Cc: Steven Rostedt <[email protected]> Signed-off-by: Alexander Gordeev <[email protected]> Signed-off-by: Paul E. McKenney <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions