Hi, this is v2 of the per-cgroup thrash detection patches, incorporating Vladimir's feedback and review tags. These patches tag the page cache radix tree eviction entries with the memcg an evicted page belonged to, thus making per-cgroup LRU reclaim work properly and be as adaptive to new cache workingsets as global reclaim already is. This should have been part of the original thrash detection patch series, but was deferred due to the complexity of those patches. Please consider merging this for v4.6. Thanks, Johannes fs/buffer.c | 14 ++-- fs/xfs/xfs_aops.c | 8 +-- include/linux/memcontrol.h | 72 +++++++++++++++---- include/linux/mmzone.h | 13 ++-- mm/filemap.c | 12 ++-- mm/memcontrol.c | 59 ++++------------ mm/page-writeback.c | 28 ++++---- mm/rmap.c | 8 +-- mm/truncate.c | 6 +- mm/vmscan.c | 26 +++---- mm/workingset.c | 160 +++++++++++++++++++++++++++++++++---------- 11 files changed, 256 insertions(+), 150 deletions(-) -- To unsubscribe from this list: send the line "unsubscribe cgroups" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html