]> git.baikalelectronics.ru Git - kernel.git/commit
tty: Avoid false-sharing flip buffer ptrs
authorPeter Hurley <peter@hurleysoftware.com>
Sat, 15 Jun 2013 13:36:12 +0000 (09:36 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 23 Jul 2013 23:47:09 +0000 (16:47 -0700)
commit703f12c653867f14729bd5dd0a5cb2679272ca63
treec4733126d13fdf57e10638c18da280c0e7e103ac
parent28c12ba3e622f1af4ccf57e4380e7d906cd0b60f
tty: Avoid false-sharing flip buffer ptrs

Separate the head and tail ptrs to avoid cache-line contention
(so called 'false-sharing') between concurrent threads.

Signed-off-by: Peter Hurley <peter@hurleysoftware.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
include/linux/tty.h