lkml.org 
[lkml]   [2009]   [Jun]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH 3/4] Count the number of times zone_reclaim() scans and fails
    On Wed, Jun 10, 2009 at 10:47:20AM +0900, KOSAKI Motohiro wrote:
    > Hi
    >
    > I like this patch. thank you mel.
    >
    > > @@ -2489,6 +2489,10 @@ int zone_reclaim(struct zone *zone, gfp_t gfp_mask, unsigned int order)
    > > ret = __zone_reclaim(zone, gfp_mask, order);
    > > zone_clear_flag(zone, ZONE_RECLAIM_LOCKED);
    > >
    > > + if (!ret) {
    > > + count_vm_events(PGSCAN_ZONERECLAIM_FAILED, 1);
    > > + }
    > > +
    > > return ret;
    >
    > count_vm_event(PGSCAN_ZONERECLAIM_FAILED)?
    >

    /me slaps self

    Yes, that makes more sense.

    --
    Mel Gorman
    Part-time Phd Student Linux Technology Center
    University of Limerick IBM Dublin Software Lab


    \
     
     \ /
      Last update: 2009-06-10 12:39    [W:0.022 / U:0.804 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site