Messages in this thread |  | | Date | Tue, 6 Feb 2001 10:30:58 +0100 (CET) | From | Ingo Molnar <> | Subject | Re: [Kiobuf-io-devel] RFC: Kernel mechanism: Compound event wait |
| |
On Mon, 5 Feb 2001, Linus Torvalds wrote:
> [...] But talk to Davem and ank about why they wanted vectors.
one issue is allocation overhead. The fragment array is a natural and constant-size part of an skb, thus we get all the control structures in place while allocating a structure that we have to allocate anyway.
another issue is that certain cards have (or can have) SG-limits, so we have to be prepared to have a 'limited' array of fragments anyway, and have to be prepared to split/refragment packets. Whether there is a global MAX_SKB_FRAGS limit or not makes no difference.
Ingo
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org Please read the FAQ at http://www.tux.org/lkml/
|  |