diff options
| author | 2013-06-15 10:04:29 -0400 | |
|---|---|---|
| committer | 2013-07-23 17:02:22 -0700 | |
| commit | 9dfd16ddea9bdbc8343340e543732db0a467ae32 (patch) | |
| tree | f5ab13fd7bbc7ff99ccc44ecf127fede65452dc2 /include/linux/tty.h | |
| parent | n_tty: Eliminate counter in __process_echoes (diff) | |
| download | linux-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
