summaryrefslogtreecommitdiffstats
path: root/mm/percpu.c
diff options
context:
space:
mode:
authorKonstantin Khlebnikov <khlebnikov@openvz.org>2012-05-30 00:06:57 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2012-05-30 01:22:26 +0200
commit3d58ab5c97fa2d145050242137ac39ca7d3bc2fc (patch)
treee9d11fc9ababf9eafcb54cc60facd793eeafaf74 /mm/percpu.c
parentmemcg: make threshold index in the right position (diff)
downloadlinux-3d58ab5c97fa2d145050242137ac39ca7d3bc2fc.tar.xz
linux-3d58ab5c97fa2d145050242137ac39ca7d3bc2fc.zip
mm/memcg: use vm_swappiness from target memory cgroup
Use vm_swappiness from memory cgroup which is triggered this memory reclaim. This is more reasonable and allows to kill one argument. [akpm@linux-foundation.org: fix build (patch skew)] Signed-off-by: Konstantin Khlebnikov <khlebnikov@openvz.org> Acked-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujtisu.com> Cc: Hugh Dickins <hughd@google.com> Cc: Glauber Costa <glommer@parallels.com> Cc: Michal Hocko <mhocko@suse.cz> Cc: Johannes Weiner <hannes@cmpxchg.org> Cc: Minchan Kim <minchan@kernel.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/percpu.c')
0 files changed, 0 insertions, 0 deletions