commit | 9dfd16ddea9bdbc8343340e543732db0a467ae32 | [log] [tgz] |
---|---|---|
author | Peter Hurley <peter@hurleysoftware.com> | Sat Jun 15 10:04:29 2013 -0400 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Tue Jul 23 17:02:22 2013 -0700 |
tree | f5ab13fd7bbc7ff99ccc44ecf127fede65452dc2 | |
parent | 29c7c5ca36d9c132cf9c37a09bc43626e790fb4c [diff] |
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>