Re: __alloc_pages() failures reported due to fragmentation

From: David Miller
Date: Fri Nov 03 2006 - 08:05:25 EST


From: Larry Woodman <lwoodman@xxxxxxxxxx>
Date: Fri, 03 Nov 2006 07:39:44 -0500

> Hi Arjan. Right but this just includes __GFP_REPEAT in the mask so we can
> defrag in __alloc_pages and only if GFP_WAIT was passed in origionally.

Indeed, quoting that small snippet of the patch was deceptive :-)

Arjan, gfp_mask is set to sk->sk_allocation, and we just add a bit
into it conditionally.
-
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/