diff options
| author | Andrew Morton <[email protected]> | 2019-07-16 16:26:15 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2019-07-16 19:23:21 -0700 |
| commit | 1732d2b0117c26a6bf6027c919e49603156ea93d (patch) | |
| tree | 9a2f1cb59d5644dfc42b330af4bd0b98266e0e4f /tools/perf/scripts/python/futex-contention.py | |
| parent | 0308f7cf19c9741837f5b4c8cde14342bba72604 (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/futex-contention.py')
0 files changed, 0 insertions, 0 deletions