aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/event_analyzing_sample.py
diff options
context:
space:
mode:
authorAndrew Morton <[email protected]>2019-07-16 16:26:15 -0700
committerLinus Torvalds <[email protected]>2019-07-16 19:23:21 -0700
commit1732d2b0117c26a6bf6027c919e49603156ea93d (patch)
tree9a2f1cb59d5644dfc42b330af4bd0b98266e0e4f /tools/perf/scripts/python/event_analyzing_sample.py
parent0308f7cf19c9741837f5b4c8cde14342bba72604 (diff)
mm/vmscan.c: add checks for incorrect handling of current->reclaim_state
Six sites are presently altering current->reclaim_state. There is a risk that one function stomps on a caller's value. Use a helper function to catch such errors. Cc: Yafang Shao <[email protected]> Cc: Kirill Tkhai <[email protected]> Cc: Michal Hocko <[email protected]> Cc: Johannes Weiner <[email protected]> Cc: Vladimir Davydov <[email protected]> Cc: Mel Gorman <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions