From: Peter Hurley Date: Sat, 15 Jun 2013 13:36:08 +0000 (-0400) Subject: tty: Track flip buffer memory limit atomically X-Git-Tag: v3.12-rc1~182^2~190 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7bfe0b7116be207cf2204ae06335cc89d8f8ee02;p=pandora-kernel.git tty: Track flip buffer memory limit atomically Lockless flip buffers require atomically updating the bytes-in-use watermark. The pty driver also peeks at the watermark value to limit memory consumption to a much lower value than the default; query the watermark with new fn, tty_buffer_space_avail(). Signed-off-by: Peter Hurley Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed