lkml.org 
[lkml]   [2015]   [Aug]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH 0/3] Make workingset detection logic memcg aware
Date
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



\
 
 \ /
  Last update: 2015-08-03 14:21    [W:0.095 / U:1.412 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site