diff options
| author | Johannes Weiner <[email protected]> | 2016-12-13 00:43:38 +0000 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2016-12-13 02:55:08 +0000 |
| commit | b936887e8739d3fa83f87d899f68d136735d9816 (patch) | |
| tree | dd9b6fb15e44c89711ec526ff7eb2d0476a73f5d /tools/testing/radix-tree/multiorder.c | |
| parent | mm: khugepaged: fix radix tree node leak in shmem collapse error path (diff) | |
| download | kernel-b936887e8739d3fa83f87d899f68d136735d9816.tar.gz kernel-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/[email protected]
Signed-off-by: Johannes Weiner <[email protected]>
Reviewed-by: Jan Kara <[email protected]>
Cc: Kirill A. Shutemov <[email protected]>
Cc: Hugh Dickins <[email protected]>
Cc: Matthew Wilcox <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/testing/radix-tree/multiorder.c')
0 files changed, 0 insertions, 0 deletions
