Hi, Currently, workingset detection logic is not memcg aware - inactive_age is maintained per zone. As a result, if memory cgroups are used, refaulted file pages are activated randomly. This patch set makes inactive_age per lruvec so that workingset detection will work correctly for memory cgroup reclaim. Thanks, Vladimir Davydov (3): mm: move workingset_activation under lru_lock mm: make workingset detection logic memcg aware mm: workingset: make shadow node shrinker memcg aware include/linux/list_lru.h | 1 - include/linux/mmzone.h | 7 ++++--- include/linux/swap.h | 2 +- mm/filemap.c | 2 +- mm/internal.h | 1 + mm/swap.c | 5 +++-- mm/vmscan.c | 2 +- mm/workingset.c | 34 +++++++++++++++++++++++----------- 8 files changed, 34 insertions(+), 20 deletions(-) -- 2.1.4 -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@xxxxxxxxx. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"dont@xxxxxxxxx"> email@xxxxxxxxx </a>