On Tue, 6 Feb 2001, Roman Zippel wrote: > > > > int nr_buffers: > > struct buffer *array; > > > > should be the low-level abstraction. > > Does it has to be vectors? What about lists? I'd prefer to avoid lists unless there is some overriding concern, like a real implementation issue. But I don't care much one way or the other - what I care about is that the setup and usage time is as low as possible. I suspect arrays are better for that. I have this strong suspicion that networking is going to be the most latency-critical and complex part of this, and the fact that the networking code wanted arrays is what makes me think that arrays are the right way to go. But talk to Davem and ank about why they wanted vectors. Linus - 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... Linus Torvalds
- 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