diff options
author | Johannes Weiner <hannes@cmpxchg.org> | 2016-12-13 01:43:38 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2016-12-13 03:55:08 +0100 |
commit | b936887e8739d3fa83f87d899f68d136735d9816 (patch) | |
tree | dd9b6fb15e44c89711ec526ff7eb2d0476a73f5d /lib/list_debug.c | |
parent | mm: khugepaged: fix radix tree node leak in shmem collapse error path (diff) | |
download | linux-b936887e8739d3fa83f87d899f68d136735d9816.tar.xz linux-b936887e8739d3fa83f87d899f68d136735d9816.zip |
mm: workingset: turn shadow node shrinker bugs into warnings
When the shadow page shrinker tries to reclaim a radix tree node but
finds it in an unexpected state - it should contain no pages, and
non-zero shadow entries - there is no need to kill the executing task or
even the entire system. Warn about the invalid state, then leave that
tree node be. Simply don't put it back on the shadow LRU for future
reclaim and move on.
Link: http://lkml.kernel.org/r/20161117191138.22769-4-hannes@cmpxchg.org
Signed-off-by: Johannes Weiner <hannes@cmpxchg.org>
Reviewed-by: Jan Kara <jack@suse.cz>
Cc: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
Cc: Hugh Dickins <hughd@google.com>
Cc: Matthew Wilcox <mawilcox@linuxonhyperv.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'lib/list_debug.c')
0 files changed, 0 insertions, 0 deletions