summaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorAlexander Gordeev <agordeev@redhat.com>2015-06-03 09:18:30 +0300
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>2015-07-16 00:45:20 +0300
commitcb007102398edd06ffc4488bf841c2e10f14d2e7 (patch)
tree617798e5e989c19032c3219dcddf24256670abdd /tools/perf/util/scripting-engines/trace-event-python.c
parent199977bff9efceec649d74510fa9754e107ce0c5 (diff)
downloadlinux-cb007102398edd06ffc4488bf841c2e10f14d2e7.tar.xz
rcu: Limit count of static data to the number of RCU levels
Although a number of RCU levels may be less than the current maximum of four, some static data associated with each level are allocated for all four levels. As result, the extra data never get accessed and just wast memory. This update limits count of allocated items to the number of used RCU levels. Cc: "Paul E. McKenney" <paulmck@linux.vnet.ibm.com> Cc: Steven Rostedt <rostedt@goodmis.org> Signed-off-by: Alexander Gordeev <agordeev@redhat.com> Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions