aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/tty.h
diff options
context:
space:
mode:
authorPeter Hurley <peter@hurleysoftware.com>2013-06-15 10:04:29 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-07-23 17:02:22 -0700
commit9dfd16ddea9bdbc8343340e543732db0a467ae32 (patch)
treef5ab13fd7bbc7ff99ccc44ecf127fede65452dc2 /include/linux/tty.h
parentn_tty: Eliminate counter in __process_echoes (diff)
downloadlinux-dev-9dfd16ddea9bdbc8343340e543732db0a467ae32.tar.xz
linux-dev-9dfd16ddea9bdbc8343340e543732db0a467ae32.zip
n_tty: Avoid false-sharing echo buffer indices
Separate the head & commit indices from the tail index 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>
Diffstat (limited to 'include/linux/tty.h')
0 files changed, 0 insertions, 0 deletions