summaryrefslogtreecommitdiff
path: root/lib/ts_kmp.c
diff options
context:
space:
mode:
authorAndrew Morton <akpm@linux-foundation.org>2019-07-17 02:26:15 +0300
committerLinus Torvalds <torvalds@linux-foundation.org>2019-07-17 05:23:21 +0300
commit1732d2b0117c26a6bf6027c919e49603156ea93d (patch)
tree9a2f1cb59d5644dfc42b330af4bd0b98266e0e4f /lib/ts_kmp.c
parent0308f7cf19c9741837f5b4c8cde14342bba72604 (diff)
downloadlinux-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/ts_kmp.c')
0 files changed, 0 insertions, 0 deletions