Messages in this thread | | | From | Vladimir Davydov <> | Subject | [PATCH 0/3] Make workingset detection logic memcg aware | Date | Mon, 3 Aug 2015 15:04:20 +0300 |
| |
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
| |