Re: alloc_skb cannot be called with GFP_DMA

kuznet@ms2.inr.ac.ru
Sun, 5 Aug 2001 21:18:11 +0400 (MSK DST)


Hello!

> alloc_isa_skb will avoid to slowdown alloc_skb so I prefer it compared
> to hiding the logic inside alloc_skb.

Stop! This is redundant. GFP_DMA is for skb data, not head!

So that, it is enough and right to clear GFP_DMA inside
alloc_skb when allocating skb head.

Alexey
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/