> On Wed, 13 Oct 2010, KOSAKI Motohiro wrote: > > > diff --git a/mm/page_alloc.c b/mm/page_alloc.c > > index 194bdaa..8b50e52 100644 > > --- a/mm/page_alloc.c > > +++ b/mm/page_alloc.c > > @@ -1093,6 +1093,7 @@ static void drain_pages(unsigned int cpu) > > pcp = &pset->pcp; > > free_pcppages_bulk(zone, pcp->count, pcp); > > pcp->count = 0; > > + __flush_zone_state(zone, NR_FREE_PAGES); > > local_irq_restore(flags); > > } > > } > > drain_zone_pages() is called from refresh_vm_stats() and > refresh_vm_stats() already flushes the counters. The patch will not change > anything. Well, it's drain_pages(), not drain_zone_pages(). drain_pages() is called from reclaim path. -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@xxxxxxxxxx For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"dont@xxxxxxxxx"> email@xxxxxxxxx </a>