[PATCH 3/3] memcg: move page-freeing code outside of lock

Namhyung Kim namhyung at gmail.com
Mon Mar 21 20:04:39 PDT 2011


2011-03-22 (화), 08:59 +0900, KAMEZAWA Hiroyuki:
> On Fri, 18 Mar 2011 21:54:15 +0900
> Namhyung Kim <namhyung at gmail.com> wrote:
> 
> > Signed-off-by: Namhyung Kim <namhyung at gmail.com>
> > Cc: KAMEZAWA Hiroyuki <kamezawa.hiroyu at jp.fujitsu.com>
> 
> What is the benefit of this patch ?
> 
> -Kame
> 

Oh, I just thought generally it'd better call such a (potentially)
costly function outside of locks and it could reduce few of theoretical
contentions between swapons and/or offs. If it doesn't help any
realistic cases I don't mind discarding it.

Thanks.


-- 
Regards,
Namhyung Kim




More information about the Containers mailing list