Linus Torvalds writes: > But talk to Davem and ank about why they wanted vectors. SKB setup and free needs to be as light as possible. Using vectors leads to code like: skb_data_free(...) { ... for (i = 0; i < MAX_SKB_FRAGS; i++) put_page(skb_shinfo(skb)->frags[i].page); } Currently, the ZC patches have a fixed frag vector size (MAX_SKB_FRAGS). But a part of me wants this to be made dynamic (to handle HIPPI etc. properly) whereas another part of me doesn't want to do it that way because it would increase the complexity of paged SKB handling and add yet another member to the SKB structure. Later, David S. Miller [EMAIL PROTECTED] - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] Please read the FAQ at http://www.tux.org/lkml/
- Re: [Kiobuf-io-devel] RFC: Ke... Christoph Hellwig
- Re: [Kiobuf-io-devel] RFC: Ke... Linus Torvalds
- Re: [Kiobuf-io-devel] RFC: Ke... Christoph Hellwig
- Re: [Kiobuf-io-devel] RFC: Ke... Neil Brown
- Re: [Kiobuf-io-devel] RFC: Ke... Ingo Molnar
- Re: [Kiobuf-io-devel] RFC: Ke... Ben LaHaise
- Re: [Kiobuf-io-devel] RFC: Ke... Ingo Molnar
- Re: [Kiobuf-io-devel] RFC: Ke... Linus Torvalds
- Re: [Kiobuf-io-devel] RFC: Ke... Roman Zippel
- Re: [Kiobuf-io-devel] RFC: Ke... Linus Torvalds
- Re: [Kiobuf-io-devel] RFC: Ke... David S. Miller
- Re: [Kiobuf-io-devel] RFC: Ke... Ingo Molnar
- Re: [Kiobuf-io-devel] RFC: Ke... Roman Zippel
- Re: [Kiobuf-io-devel] RFC: Ke... Ingo Molnar
- Re: [Kiobuf-io-devel] RFC: Ke... Linus Torvalds
- Re: [Kiobuf-io-devel] RFC: Ke... Alan Cox
- Re: [Kiobuf-io-devel] RFC: Ke... Linus Torvalds
- Re: [Kiobuf-io-devel] RFC: Ke... Stephen C. Tweedie
- Re: [Kiobuf-io-devel] RFC: Ke... bcrl
- Re: [Kiobuf-io-devel] RFC: Kernel mechanism: Compound e... bsuparna
- Re: [Kiobuf-io-devel] RFC: Kernel mechanism: Compound e... bsuparna