]> git.baikalelectronics.ru Git - kernel.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)
commit5f692c0777558ea14aedd985c8eb7db6cf03ce53
tree5721c11c135878e4806b118b5cef5dc407e1b9b7
parentc49532097ef794e4575daa9bc6bf33909cb7ff13
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