diff options
author | Konstantin Khlebnikov <khlebnikov@openvz.org> | 2012-05-29 15:06:57 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-05-29 16:22:26 -0700 |
commit | 3d58ab5c97fa2d145050242137ac39ca7d3bc2fc (patch) | |
tree | e9d11fc9ababf9eafcb54cc60facd793eeafaf74 /mm/filemap.c | |
parent | 748dad36d645f5c4517a115d60bb3a0e8f877ac0 (diff) | |
download | blackbird-op-linux-3d58ab5c97fa2d145050242137ac39ca7d3bc2fc.tar.gz blackbird-op-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/filemap.c')
0 files changed, 0 insertions, 0 deletions