Skip to content

n_tty_read() helper cleanups

Peter Hurley lkml 2 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest3 patches 0 repliesNew
  2. v11 patch 0 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3n_tty: Uninline tty_copy_to_user()drivers/tty/n_tty.c+18 -150 replies
2/3n_tty: Clarify copy_from_read_buf()drivers/tty/n_tty.c+4 -40 replies
3/3n_tty: Reduce branching in canon_copy_from_read_buf()drivers/tty/n_tty.c+3 -40 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 0/3] n_tty_read() helper cleanups

Hi Greg,

This series rebases a couple of already-sent patches on top of the EOF push bug fix, "n_tty: Fix poll() after buffer-limited eof push read", and adds a third to reduce branching (which hopefully clarifies the copy algorithm some).

I will also resend the "Rework tty audit" series, which requires this series.

Regards,

Peter Hurley (3):
n_tty: Uninline tty_copy_to_user()
n_tty: Clarify copy_from_read_buf()
n_tty: Reduce branching in canon_copy_from_read_buf()

 drivers/tty/n_tty.c | 48 +++++++++++++++++++++++++-----------------------
 1 file changed, 25 insertions(+), 23 deletions(-)
Signature · 1 line
2.6.3