]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
[PATCH] NET: __alloc_pages() failures reported due to fragmentation
authorDavid Miller <davem@davemloft.net>
Mon, 6 Nov 2006 23:07:16 +0000 (15:07 -0800)
committerChris Wright <chrisw@sous-sol.org>
Sun, 19 Nov 2006 03:28:02 +0000 (19:28 -0800)
commit90be3aa1886f6c18b99aacf6c682cf6c3493d385
treeb8cf02f39c8d0c211bf7a28e2a35b0cc1b00ad6a
parentf8d0f4c70c1b99e37102367bf37e394245fae1c0
[PATCH] NET: __alloc_pages() failures reported due to fragmentation

We have seen a couple of __alloc_pages() failures due to
fragmentation, there is plenty of free memory but no large order pages
available.  I think the problem is in sock_alloc_send_pskb(), the
gfp_mask includes __GFP_REPEAT but its never used/passed to the page
allocator.  Shouldnt the gfp_mask be passed to alloc_skb() ?

Signed-off-by: Larry Woodman <lwoodman@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Chris Wright <chrisw@sous-sol.org>
net/core/sock.c