lkml.org 
[lkml]   [2009]   [Apr]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH 04/25] Check only once if the zonelist is suitable for the allocation
Date
> -restart:
> - z = zonelist->_zonerefs; /* the list of zones suitable for gfp_mask */
> -
> + /* the list of zones suitable for gfp_mask */
> + z = zonelist->_zonerefs;
> if (unlikely(!z->zone)) {
> /*
> * Happens if we have an empty zonelist as a result of
> @@ -1497,6 +1496,7 @@ restart:
> return NULL;
> }
>
> +restart:
> page = get_page_from_freelist(gfp_mask|__GFP_HARDWALL, nodemask, order,
> zonelist, high_zoneidx, ALLOC_WMARK_LOW|ALLOC_CPUSET);
> if (page)

looks good.

Reviewed-by: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>




\
 
 \ /
  Last update: 2009-04-21 05:07    [W:0.394 / U:2.060 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site