From: Peter Hurley Date: Sat, 15 Jun 2013 13:14:30 +0000 (-0400) Subject: n_tty: Separate buffer indices to prevent cache-line sharing X-Git-Tag: v3.12-rc1~182^2~204 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fb7aa03db605e4f0b9a62cd4c77177c2596edd95;p=pandora-kernel.git n_tty: Separate buffer indices to prevent cache-line sharing If the read buffer indices are in the same cache-line, cpus will contended over the cache-line (so called 'false sharing'). Separate the producer-published fields from the consumer-published fields; document the locks relevant to each field. Signed-off-by: Peter Hurley Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed