Messages in this thread | | | From | KOSAKI Motohiro <> | Subject | Re: [PATCH] mm: Fix some coding styles on mm/ tree | Date | Thu, 4 Mar 2010 13:06:31 +0900 (JST) |
| |
> diff --git a/mm/vmscan.c b/mm/vmscan.c > index c26986c..fbe2793 100644 > --- a/mm/vmscan.c > +++ b/mm/vmscan.c > @@ -1327,9 +1327,9 @@ static void shrink_active_list(unsigned long nr_pages, struct zone *zone, > * zone->pages_scanned is used for detect zone's oom > * mem_cgroup remembers nr_scan by itself. > */ > - if (scanning_global_lru(sc)) { > + if (scanning_global_lru(sc)) > zone->pages_scanned += pgscanned; > - } > + > reclaim_stat->recent_scanned[file] += nr_taken; > > __count_zone_vm_events(PGREFILL, zone, pgscanned);
Probably this part is my fault.
Thanks! Zhitong.
| |