diff options
author | Naoya Horiguchi <n-horiguchi@ah.jp.nec.com> | 2012-03-22 00:34:27 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-03-22 01:55:02 +0100 |
commit | 8d32ff84401f1addb961c7af2c8d9baceb0ab9ba (patch) | |
tree | bf62513b239dce072f0105c0b06ed694634a77d4 /mm/pgtable-generic.c | |
parent | mm/memcontrol.c: remove unnecessary 'break' in mem_cgroup_read() (diff) | |
download | linux-8d32ff84401f1addb961c7af2c8d9baceb0ab9ba.tar.xz linux-8d32ff84401f1addb961c7af2c8d9baceb0ab9ba.zip |
memcg: clean up existing move charge code
- Replace lengthy function name is_target_pte_for_mc() with a shorter
one in order to avoid ugly line breaks.
- explicitly use MC_TARGET_* instead of simply using integers.
Signed-off-by: Naoya Horiguchi <n-horiguchi@ah.jp.nec.com>
Cc: Andrea Arcangeli <aarcange@redhat.com>
Cc: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
Cc: Daisuke Nishimura <nishimura@mxp.nes.nec.co.jp>
Cc: Hillf Danton <dhillf@gmail.com>
Cc: David Rientjes <rientjes@google.com>
Acked-by: Hillf Danton <dhillf@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions