lkml.org 
[lkml]   [2010]   [Apr]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH 04/10] vmscan: Remove useless loop at end of do_try_to_free_pages
Date
> With the patch "vmscan: kill prev_priority completely", the loop at the
> end of do_try_to_free_pages() is now doing nothing. Delete it.
>
> Signed-off-by: Mel Gorman <mel@csn.ul.ie>

Obviously. thanks correct me.
Reviewed-by: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>

> ---
>
> diff --git a/mm/vmscan.c b/mm/vmscan.c
> index 76c2b03..838ac8b 100644
> --- a/mm/vmscan.c
> +++ b/mm/vmscan.c
> @@ -1806,11 +1806,6 @@ static unsigned long do_try_to_free_pages(struct zonelist *zonelist,
> ret = sc->nr_reclaimed;
>
> out:
> - if (scanning_global_lru(sc))
> - for_each_zone_zonelist(zone, z, zonelist, high_zoneidx)
> - if (!cpuset_zone_allowed_hardwall(zone, GFP_KERNEL))
> - continue;
> -
> delayacct_freepages_end();
>
> return ret;
> --
> 1.6.5
>





\
 
 \ /
  Last update: 2010-04-16 04:51    [W:0.477 / U:0.244 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site