diff options
author | Konstantin Khlebnikov <khlebnikov@openvz.org> | 2012-05-30 00:06:57 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-05-30 01:22:26 +0200 |
commit | 3d58ab5c97fa2d145050242137ac39ca7d3bc2fc (patch) | |
tree | e9d11fc9ababf9eafcb54cc60facd793eeafaf74 /mm/percpu.c | |
parent | memcg: make threshold index in the right position (diff) | |
download | linux-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