diff options
author | 2012-03-21 16:34:27 -0700 | |
---|---|---|
committer | 2012-03-21 17:55:02 -0700 | |
commit | 8d32ff84401f1addb961c7af2c8d9baceb0ab9ba (patch) | |
tree | bf62513b239dce072f0105c0b06ed694634a77d4 /include | |
parent | mm/memcontrol.c: remove unnecessary 'break' in mem_cgroup_read() (diff) | |
download | linux-8d32ff84401f1addb961c7af2c8d9baceb0ab9ba.tar.gz linux-8d32ff84401f1addb961c7af2c8d9baceb0ab9ba.tar.bz2 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 'include')
0 files changed, 0 insertions, 0 deletions