lkml.org 
[lkml]   [2011]   [Mar]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    SubjectRe: [PATCH 3/3] memcg: move page-freeing code outside of lock
    From
    On Tue, Mar 22, 2011 at 8:34 AM, Namhyung Kim <namhyung@gmail.com> wrote:
    >
    > 2011-03-22 (화), 08:59 +0900, KAMEZAWA Hiroyuki:
    > > On Fri, 18 Mar 2011 21:54:15 +0900
    > > Namhyung Kim <namhyung@gmail.com> wrote:
    > >
    > > > Signed-off-by: Namhyung Kim <namhyung@gmail.com>
    > > > Cc: KAMEZAWA Hiroyuki <kamezawa.hiroyu@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.

    swapoff is a rare path, I would not worry about it too much at all.

    Balbir
    --
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2011-03-22 04:11    [W:0.045 / U:0.296 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site