Messages in this thread |  | | | Date | Mon, 14 Nov 2011 16:08:14 +0000 | | From | Alan Cox <> | | Subject | Re: [PATCH v3 2/2] TTY: tty flip buffer optimisation. |
| |
> For avoid complexity we need remove free buffer at all. > And use kmalloc()-kfree() for every chunk. Don't need tty_buffer_find(). > It will be fast and easy.
The buffer cycling was added because it speeds up some cases (as you found), and because its needed for high speed serial on some very low end devices. From your benchmarks it's also speeding up pty/tty so it's clearly relevant.
Alan
|  |