summaryrefslogtreecommitdiffstats
path: root/mm/rmap.c
diff options
context:
space:
mode:
authorSha Zhengju <handai.szj@taobao.com>2013-09-13 00:13:49 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2013-09-13 00:38:02 +0200
commit1a36e59d4833de19120dc7482c61ef69e228c73c (patch)
tree85b815d4b6a461d56d4a0a450e31fa069c7c1142 /mm/rmap.c
parentmemcg: avoid overflow caused by PAGE_ALIGN (diff)
downloadlinux-1a36e59d4833de19120dc7482c61ef69e228c73c.tar.xz
linux-1a36e59d4833de19120dc7482c61ef69e228c73c.zip
memcg: reduce function dereference
This function dereferences res far too often, so optimize it. Signed-off-by: Sha Zhengju <handai.szj@taobao.com> Signed-off-by: Qiang Huang <h.huangqiang@huawei.com> Acked-by: Michal Hocko <mhocko@suse.cz> Cc: Daisuke Nishimura <nishimura@mxp.nes.nec.co.jp> Cc: Jeff Liu <jeff.liu@oracle.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/rmap.c')
0 files changed, 0 insertions, 0 deletions