lkml.org 
[lkml]   [2010]   [Mar]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH] mm: Fix some coding styles on mm/ tree
Date
> 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.





\
 
 \ /
  Last update: 2010-03-04 05:09    [W:0.042 / U:0.144 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site