lkml.org 
[lkml]   [2006]   [Jan]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [Patch] New zone ZONE_EASY_RECLAIM take 4. (disable gfp_easy_reclaim bit)[5/8]
    > 
    > > ===================================================================
    > > --- zone_reclaim.orig/fs/pipe.c 2005-12-16 18:36:20.000000000 +0900
    > > +++ zone_reclaim/fs/pipe.c 2005-12-16 19:15:35.000000000 +0900
    > > @@ -284,7 +284,7 @@ pipe_writev(struct file *filp, const str
    > > int error;
    > >
    > > if (!page) {
    > > - page = alloc_page(GFP_HIGHUSER);
    > > + page = alloc_page(GFP_HIGHUSER & ~__GFP_EASY_RECLAIM);
    > > if (unlikely(!page)) {
    > > ret = ret ? : -ENOMEM;
    > > break;
    >
    > That is a bit hard to understand. How about a new GFP_HIGHUSER_HARD or
    > somesuch define back in patch 1, then use it here?

    It looks better. Thanks for your idea.

    --
    Yasunori Goto


    -
    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: 2006-01-05 06:46    [W:0.024 / U:0.348 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site