Re: [PATCH 3/9] mm: workingset: turn shadow node shrinker bugs into warnings

2016-11-17 Thread Jan Kara
On Thu 17-11-16 14:11:32, 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 3/9] mm: workingset: turn shadow node shrinker bugs into warnings

2016-11-17 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