| Date | Fri, 28 Dec 2012 10:06:57 +0900 | From | Kamezawa Hiroyuki <> | Subject | Re: [PATCH V3 7/8] memcg: disable memcg page stat accounting code when not in use |
| |
(2012/12/26 2:27), Sha Zhengju wrote: > From: Sha Zhengju <handai.szj@taobao.com> > > It's inspired by a similar optimization from Glauber Costa > (memcg: make it suck faster; https://lkml.org/lkml/2012/9/25/154). > Here we use jump label to patch the memcg page stat accounting code > in or out when not used. when the first non-root memcg comes to > life the code is patching in otherwise it is out. > > Signed-off-by: Sha Zhengju <handai.szj@taobao.com>
Acked-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
|