]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
tty: Fix flip buffer free list
authorPeter Hurley <peter@hurleysoftware.com>
Sat, 15 Jun 2013 13:36:02 +0000 (09:36 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 23 Jul 2013 23:47:07 +0000 (16:47 -0700)
commit1cef50e317c3395c6e8451f2b82a155db6ef2b42
tree5721c11c135878e4806b118b5cef5dc407e1b9b7
parent1fc359fc3ea72314cc3ebdfa94c60e020c152cd2
tty: Fix flip buffer free list

Since flip buffers are size-aligned to 256 bytes and all flip
buffers 512-bytes or larger are not added to the free list, the
free list only contains 256-byte flip buffers.

Remove the list search when allocating a new flip buffer.

Signed-off-by: Peter Hurley <peter@hurleysoftware.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/tty_buffer.c