[RFC PATCH 3/3] net: use qmempool in-front of sk_buff kmem_cache

2014-12-10 Thread Jesper Dangaard Brouer
This patch uses qmempool for faster than SLAB caching of SKBs. Only use this caching in connection with napi_alloc_skb() which runs in softirq context. This softirq context provides the needed protection for qmempool and the underlying alf_queue. Current caching settings are max 32 elements per

[RFC PATCH 3/3] net: use qmempool in-front of sk_buff kmem_cache

2014-12-10 Thread Jesper Dangaard Brouer
This patch uses qmempool for faster than SLAB caching of SKBs. Only use this caching in connection with napi_alloc_skb() which runs in softirq context. This softirq context provides the needed protection for qmempool and the underlying alf_queue. Current caching settings are max 32 elements per