mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-15 19:56:03 +00:00
n_tty: Line copy to user buffer in canonical mode
Instead of pushing one char per loop, pre-compute the data length to copy and copy all at once. Signed-off-by: Peter Hurley <peter@hurleysoftware.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
88bb0de389
commit
32f13521ca
1 changed files with 77 additions and 33 deletions
Loading…
Add table
Add a link
Reference in a new issue