diff options
author | 2019-07-16 16:26:15 -0700 | |
---|---|---|
committer | 2019-07-16 19:23:21 -0700 | |
commit | 1732d2b0117c26a6bf6027c919e49603156ea93d (patch) | |
tree | 9a2f1cb59d5644dfc42b330af4bd0b98266e0e4f /include/asm-generic/cacheflush.h | |
parent | mm/vmscan.c: calculate reclaimed slab caches in all reclaim paths (diff) | |
download | wireguard-linux-1732d2b0117c26a6bf6027c919e49603156ea93d.tar.xz wireguard-linux-1732d2b0117c26a6bf6027c919e49603156ea93d.zip |
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 'include/asm-generic/cacheflush.h')
0 files changed, 0 insertions, 0 deletions