commit | 1a36e59d4833de19120dc7482c61ef69e228c73c | [log] [tgz] |
---|---|---|
author | Sha Zhengju <handai.szj@taobao.com> | Thu Sep 12 15:13:49 2013 -0700 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Thu Sep 12 15:38:02 2013 -0700 |
tree | 85b815d4b6a461d56d4a0a450e31fa069c7c1142 | |
parent | 3af3351676c3deecfd632f47719fb0d13a061ba8 [diff] |
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>