[PATCH 0/3] Make workingset detection logic memcg aware
From: Vladimir Davydov
Date: Mon Aug 03 2015 - 08:04:42 EST
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 from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/