Messages in this thread |  | | | Date | Fri, 8 Oct 2004 11:00:55 -0400 | | From | Theodore Ts'o <> | | Subject | Re: [RFC][PATCH] TTY flip buffer SMP changes |
| |
On Fri, Oct 08, 2004 at 01:51:36PM +0100, Alan Cox wrote: > On Gwe, 2004-10-08 at 14:35, Paul Fulghum wrote: > > It does seem to carry serious overhead (in relation > > to ring buffers) for devices with small FIFOs. > > Thats one reason I wanted sk_buff like rather than sk_buff. I want > to be able to recycle buffers back to drivers when the driver thinks > its the right thing to do.
You can have the driver hang on to the sk_buff for several interrupts until it decides to push the data to the line displine. So even if the FIFO is small, we only have to allocate/deallocate the skbuff only but rarely, unless someone really needs low_latency --- which should be but rarely.
- Ted - 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/
|  |