lkml.org 
[lkml]   [2010]   [Jan]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    SubjectRe: [PATCH 2/7] Export unusable free space index via /proc/pagetypeinfo
    From
    On Wed, Jan 6, 2010 at 8:26 AM, Mel Gorman <mel@csn.ul.ie> wrote:
    >
    > diff --git a/mm/vmstat.c b/mm/vmstat.c
    > index 6051fba..e1ea2d5 100644
    > --- a/mm/vmstat.c
    > +++ b/mm/vmstat.c
    > @@ -451,6 +451,104 @@ static int frag_show(struct seq_file *m, void *arg)
    >        return 0;
    >  }
    >
    > +
    > +struct config_page_info {
    > +       unsigned long free_pages;
    > +       unsigned long free_blocks_total;
    > +       unsigned long free_blocks_suitable;
    > +};
    > +
    > +/*
    > + * Calculate the number of free pages in a zone, how many contiguous
    > + * pages are free and how many are large enough to satisfy an allocation of
    > + * the target size. Note that this function makes to attempt to estimate

    s/makes to/makes no/ ?



    Tim
    --
    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: 2010-01-07 00:23    [W:2.703 / U:0.008 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site