]> git.proxmox.com Git - mirror_ubuntu-kernels.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)
commit51fb80fefe736db1182551fec6528d1ef095b0ea
treecc750475df4e2614b0c397391385610e5b058261
parentd1b29405bd3590bc97c4d3ff2c9139ca55e56ccd
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