aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/flamegraph-record
diff options
context:
space:
mode:
authorzhenwei pi <[email protected]>2022-05-12 20:23:10 -0700
committerAndrew Morton <[email protected]>2022-05-13 07:20:19 -0700
commite240ac52f7da5986f9dcbe29d423b7b2f141b41b (patch)
tree29eaf4f711fccf9a14ae3db3fd90ae1f733eca45 /tools/perf/scripts/python/bin/flamegraph-record
parentf0696cb4068a0d79cf9795ad34560d2f6200d42c (diff)
mm/memory-failure.c: simplify num_poisoned_pages_inc/dec
Originally, do num_poisoned_pages_inc() in memory failure routine, use num_poisoned_pages_dec() to rollback the number if filtered/ cancelled. Suggested by Naoya, do num_poisoned_pages_inc() only in action_result(), this make this clear and simple. Link: https://lkml.kernel.org/r/[email protected] Signed-off-by: zhenwei pi <[email protected]> Acked-by: Naoya Horiguchi <[email protected]> Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/flamegraph-record')
0 files changed, 0 insertions, 0 deletions