summaryrefslogtreecommitdiff
path: root/mm/readahead.c
diff options
context:
space:
mode:
authorKAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>2008-10-19 07:28:10 +0400
committerLinus Torvalds <torvalds@linux-foundation.org>2008-10-20 19:52:39 +0400
commitaddb9efebb2ee2202d324e75b593b39868528f68 (patch)
tree0d0a6b3c4ce3e3b668adab9f463957e506e9b733 /mm/readahead.c
parent5b4e655e948d8b6e9b0d001616d4c9d7e7ffe924 (diff)
downloadlinux-addb9efebb2ee2202d324e75b593b39868528f68.tar.xz
memcg: optimize per-cpu statistics
Some obvious optimization to memcg. I found mem_cgroup_charge_statistics() is a little big (in object) and does unnecessary address calclation. This patch is for optimization to reduce the size of this function. And res_counter_charge() is 'likely' to succeed. Signed-off-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com> Acked-by: Balbir Singh <balbir@linux.vnet.ibm.com> Cc: Daisuke Nishimura <nishimura@mxp.nes.nec.co.jp> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/readahead.c')
0 files changed, 0 insertions, 0 deletions