]> git.baikalelectronics.ru Git - kernel.git/commit
p54usb: Fix to prevent SKB memory allocation errors with 4K page size
authorLarry Finger <Larry.Finger@lwfinger.net>
Sat, 3 Jan 2009 18:45:12 +0000 (12:45 -0600)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 12 Jan 2009 19:24:49 +0000 (14:24 -0500)
commitf2c4482b13fc96fb0154003578e70646335973c8
treecc750475df4e2614b0c397391385610e5b058261
parent15fe01ea341d429ed0ba4238bbe1330c7f95c829
p54usb: Fix to prevent SKB memory allocation errors with 4K page size

On x86_64 architecture with 4K page size and SLUB debugging enabled, stress
testing on p54usb has resulted in skb allocation failures of O(1) and extreme
page fragmentation. Reducing rx_mtu fixes this problem by reducing the size of
all receive skb allocations to be of O(0). This change does not impact
performance in any way.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/p54/p54common.c