diff options
author | Andrew Morton <akpm@linux-foundation.org> | 2019-07-17 02:26:15 +0300 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2019-07-17 05:23:21 +0300 |
commit | 1732d2b0117c26a6bf6027c919e49603156ea93d (patch) | |
tree | 9a2f1cb59d5644dfc42b330af4bd0b98266e0e4f /lib/notifier-error-inject.c | |
parent | 0308f7cf19c9741837f5b4c8cde14342bba72604 (diff) | |
download | linux-1732d2b0117c26a6bf6027c919e49603156ea93d.tar.xz |
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 <laoar.shao@gmail.com>
Cc: Kirill Tkhai <ktkhai@virtuozzo.com>
Cc: Michal Hocko <mhocko@suse.com>
Cc: Johannes Weiner <hannes@cmpxchg.org>
Cc: Vladimir Davydov <vdavydov.dev@gmail.com>
Cc: Mel Gorman <mgorman@techsingularity.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'lib/notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions