From: Peter Hurley Date: Fri, 2 May 2014 14:56:11 +0000 (-0400) Subject: Revert "tty: Fix race condition between __tty_buffer_request_room and flush_to_ldisc" X-Git-Tag: omap-for-v3.16/fixes-against-rc1~216^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5fbf1a65dd53ef313783c34a0e93a6e29def6136;p=pandora-kernel.git Revert "tty: Fix race condition between __tty_buffer_request_room and flush_to_ldisc" This reverts commit 6a20dbd6caa2358716136144bf524331d70b1e03. Although the commit correctly identifies an unsafe race condition between __tty_buffer_request_room() and flush_to_ldisc(), the commit fixes the race with an unnecessary spinlock in a lockless algorithm. The follow-on commit, "tty: Fix lockless tty buffer race" fixes the race locklessly. Signed-off-by: Peter Hurley Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed