summaryrefslogtreecommitdiffstats
path: root/drivers/hwmon/ad7418.c
diff options
context:
space:
mode:
authorDaisuke Nishimura2010-05-26 23:42:38 +0200
committerLinus Torvalds2010-05-27 18:12:43 +0200
commit90254a65833b67502d14736410b3857a15535c67 (patch)
treee03ec501b4a585c0d112469f36100ec41a715345 /drivers/hwmon/ad7418.c
parentmemcg: oom kill disable and oom status (diff)
downloadkernel-qcow2-linux-90254a65833b67502d14736410b3857a15535c67.tar.gz
kernel-qcow2-linux-90254a65833b67502d14736410b3857a15535c67.tar.xz
kernel-qcow2-linux-90254a65833b67502d14736410b3857a15535c67.zip
memcg: clean up move charge
This patch cleans up move charge code by: - define functions to handle pte for each types, and make is_target_pte_for_mc() cleaner. - instead of checking the MOVE_CHARGE_TYPE_ANON bit, define a function that checks the bit. Signed-off-by: Daisuke Nishimura <nishimura@mxp.nes.nec.co.jp> Acked-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com> Cc: Balbir Singh <balbir@in.ibm.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/hwmon/ad7418.c')
0 files changed, 0 insertions, 0 deletions