Re: [PATCH 4/6] Use two zonelist that are filtered by GFP mask

From: 小崎資広
Date: Tue Nov 20 2007 - 21:37:34 EST


Hi

> +static inline enum zone_type gfp_zonelist(gfp_t flags)
> +{
> + if (NUMA_BUILD && unlikely(flags & __GFP_THISNODE))
> + return 1;
> +
> + return 0;
> +}
> +

static inline int gfp_zonelist(gfp_t flags) ?

if not, why no use ZONE_XXX macro.


----
kosaki


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