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: NPeter Hurley <peter@hurleysoftware.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Showing
想要评论请 注册 或 登录