From: Peter Hurley Date: Wed, 24 Jul 2013 12:29:56 +0000 (-0400) Subject: n_tty: Factor LNEXT processing from per-char i/o path X-Git-Tag: v3.12-rc1~182^2~153 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e60d27c4d8b33ba20896b76b6558f061bc6460ff;p=pandora-kernel.git n_tty: Factor LNEXT processing from per-char i/o path LNEXT processing accounts for ~15% of total cpu time in end-to-end tty i/o; factor the lnext test/clear from the per-char i/o path. Instead, attempt to immediately handle the literal next char if not at the end of this received buffer; otherwise, handle the first char of the next received buffer as the literal next char, then continue with normal i/o. Signed-off-by: Peter Hurley Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed