Re: [PATCH V3 7/8] memcg: disable memcg page stat accounting code when not in use

2013-01-05 Thread Sha Zhengju
On Fri, Dec 28, 2012 at 9:45 AM, Kamezawa Hiroyuki wrote: > (2012/12/26 2:27), Sha Zhengju wrote: >> From: Sha Zhengju >> >> 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 memc

Re: [PATCH V3 7/8] memcg: disable memcg page stat accounting code when not in use

2013-01-02 Thread Michal Hocko
[CCing Mel] On Wed 26-12-12 01:27:57, Sha Zhengju wrote: > From: Sha Zhengju > > 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

Re: [PATCH V3 7/8] memcg: disable memcg page stat accounting code when not in use

2012-12-27 Thread Kamezawa Hiroyuki
(2012/12/26 2:27), Sha Zhengju wrote: > From: Sha Zhengju > > 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 f

Re: [PATCH V3 7/8] memcg: disable memcg page stat accounting code when not in use

2012-12-27 Thread Kamezawa Hiroyuki
(2012/12/26 2:27), Sha Zhengju wrote: > From: Sha Zhengju > > 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 f