Skip to content

Fix several data races in tty

Dmitry Vyukov lkml 4 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v5 Latest3 patches 3 repliesIn review
  2. v41 patch 0 repliesSuperseded
  3. v21 patch 5 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v11 patch6 repliesSuperseded

Patches in v5 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3tty: fix data race in flush_to_ldiscdrivers/tty/tty_buffer.c+1 -11 reply
2/3tty: fix data race in tty_buffer_flushdrivers/tty/tty_buffer.c+4 -11 reply
3/3tty: fix data race on tty_buffer.commitdrivers/tty/tty_buffer.c+12 -31 reply

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by.

PatchPeter Hurley
1/3R-b
2/3R-b
3/3R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v5 thread

Cover letter [PATCH v5 0/3] Fix several data races in tty

v5: Combine the 3 patches into single series

v4: Corrected commit log and patch revision notes

v3: Added code comment re: paired smp barrier in "tty: fix data race in tty_buffer_flush"

v2: Split "tty: fix data race in tty_buffer_flush" from "tty: fix data races on tty_buffer.commit". Removed WRITE_ONCE when updating port->itty in "tty: fix data race in flush_to_ldisc".

Dmitry Vyukov (3):
tty: fix data race in flush_to_ldisc
tty: fix data race in tty_buffer_flush
tty: fix data race on tty_buffer.commit

 drivers/tty/tty_buffer.c | 15 ++++++++++++---
 1 file changed, 12 insertions(+), 3 deletions(-)
Signature · 1 line
2.6.0.rc0.131.gf624c3d