diff options
author | Peter Hurley <peter@hurleysoftware.com> | 2013-07-24 14:29:56 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-07-24 18:29:32 +0200 |
commit | e60d27c4d8b33ba20896b76b6558f061bc6460ff (patch) | |
tree | 2c0605fd7cc00b1e8176026e235026642ce5b86e /drivers/tty/pty.c | |
parent | n_tty: Un-inline single-use functions (diff) | |
download | linux-e60d27c4d8b33ba20896b76b6558f061bc6460ff.tar.xz linux-e60d27c4d8b33ba20896b76b6558f061bc6460ff.zip |
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 <peter@hurleysoftware.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty/pty.c')
0 files changed, 0 insertions, 0 deletions