]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
[NET]: __alloc_pages() failures reported due to fragmentation
authorLarry Woodman <lwoodman@redhat.com>
Thu, 9 Nov 2006 10:05:38 +0000 (11:05 +0100)
committerAdrian Bunk <bunk@stusta.de>
Thu, 9 Nov 2006 10:05:38 +0000 (11:05 +0100)
commit4504530e9f7310af00f79807029659c32fda90a1
tree7469553d827d70ed1bfeab0bb5c0bd89ea6ed8fc
parent5f61e927c7c47e696f7fe18ae3e7ea32a42e1d24
[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: Adrian Bunk <bunk@stusta.de>
net/core/sock.c