Re: [PATCH 2/6] mm: workingset: turn shadow node shrinker bugs into warnings

2016-11-08 Thread Jan Kara
On Mon 07-11-16 14:07:37, Johannes Weiner wrote: > 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

[PATCH 2/6] mm: workingset: turn shadow node shrinker bugs into warnings

2016-11-07 Thread Johannes Weiner
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