git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e8437d7
)
tty: Ensure single-threaded flip buffer consumer with mutex
author
Peter Hurley
<peter@hurleysoftware.com>
Sat, 15 Jun 2013 13:36:10 +0000
(09:36 -0400)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Tue, 23 Jul 2013 23:47:09 +0000
(16:47 -0700)
The buffer work may race with parallel tty_buffer_flush. Use a
mutex to guarantee exclusive modify access to the head flip
buffer.
Remove the unneeded spin lock.
Signed-off-by: Peter Hurley <peter@hurleysoftware.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
No differences found