Re: [PATCH] mm: Fix some coding styles on mm/ tree

From: KOSAKI Motohiro
Date: Wed Mar 03 2010 - 23:06:43 EST


> 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.



--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/