aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/call-graph-from-postgresql.py
diff options
context:
space:
mode:
authorRasmus Villemoes <[email protected]>2016-02-11 16:13:06 -0800
committerLinus Torvalds <[email protected]>2016-02-11 18:35:48 -0800
commit078c6c3a5e7dc53a9a23408cc32c83954abb5d0d (patch)
treee4185f03f3d35cc47c79b64323701dbe5370f8cc /tools/perf/scripts/python/call-graph-from-postgresql.py
parent6b9116a652bd9e0e2994505cfaaa5f66deaa2a05 (diff)
mm/backing-dev.c: fix error path in wb_init()
We need to use post-decrement to get percpu_counter_destroy() called on &wb->stat[0]. Moreover, the pre-decremebt would cause infinite out-of-bounds accesses if the setup code failed at i==0. Signed-off-by: Rasmus Villemoes <[email protected]> Cc: Johannes Weiner <[email protected]> Cc: Michal Hocko <[email protected]> Cc: Vladimir Davydov <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions