diff options
author | Sha Zhengju <handai.szj@taobao.com> | 2013-09-12 15:13:50 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2013-09-12 15:38:02 -0700 |
commit | 68b4876d996e8749142b2895bc2e251448996363 (patch) | |
tree | bd21b2e160d48dc38b11869c1bef5d38100ddd98 /drivers/gpio/gpio-adnp.c | |
parent | 1a36e59d4833de19120dc7482c61ef69e228c73c (diff) | |
download | blackbird-op-linux-68b4876d996e8749142b2895bc2e251448996363.tar.gz blackbird-op-linux-68b4876d996e8749142b2895bc2e251448996363.zip |
memcg: remove MEMCG_NR_FILE_MAPPED
While accounting memcg page stat, it's not worth to use
MEMCG_NR_FILE_MAPPED as an extra layer of indirection because of the
complexity and presumed performance overhead. We can use
MEM_CGROUP_STAT_FILE_MAPPED directly.
Signed-off-by: Sha Zhengju <handai.szj@taobao.com>
Acked-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
Acked-by: Michal Hocko <mhocko@suse.cz>
Acked-by: Fengguang Wu <fengguang.wu@intel.com>
Reviewed-by: Greg Thelen <gthelen@google.com>
Cc: Johannes Weiner <hannes@cmpxchg.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/gpio/gpio-adnp.c')
0 files changed, 0 insertions, 0 deletions