Skip to content

ldsem patchset

Peter Hurley linux-ppp linux-serial lkml netdev 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest7 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7tty: Add timed, writer-prioritized rw semaphoredrivers/tty/Makefile drivers/tty/tty_ldsem.c include/linux/tty_ldisc.h+500 -10 replies
2/7tty: Add lock/unlock ldisc pair functionsdrivers/tty/tty_ldisc.c+87 -00 replies
3/7tty: Replace ldisc locking with ldisc_semdrivers/tty/tty_buffer.c drivers/tty/tty_io.c drivers/tty/tty_ldisc.c +2 more+48 -2920 replies
4/7tty: Clarify ldisc variabledrivers/tty/tty_ldisc.c+7 -70 replies
5/7tty: Fix hangup race with TIOCSETD ioctldrivers/tty/tty_ldisc.c+2 -40 replies
6/7tty: Clarify multiple-references comment in TIOCSETD ioctldrivers/tty/tty_ldisc.c+6 -40 replies
7/7tty: Fix tty_ldisc_lock name collisiondrivers/tty/tty_ldisc.c+12 -120 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH 0/7] ldsem patchset

Ingo and David,

Greg has asked me to get your acks on the r/w semaphore implementation in the first patch,
'tty: Add timed, writer-prioritized rw_semaphore'

Would you please review the implementation and comment?

This is a re-spin of the remainder of 'ldisc patchset'. The semaphore-related patches of that set have been squashed into the first patch.

Sasha and Dave,

Please don't run the 44-patch ldisc patchset anymore. That patchset was only partially applied so trinity testing for linux-next may give false assurance that those bugs are fixed.

Peter Hurley (7):
tty: Add timed, writer-prioritized rw semaphore
tty: Add lock/unlock ldisc pair functions
tty: Replace ldisc locking with ldisc_sem
tty: Clarify ldisc variable
tty: Fix hangup race with TIOCSETD ioctl
tty: Clarify multiple-references comment in TIOCSETD ioctl
tty: Fix tty_ldisc_lock name collision

 drivers/tty/Makefile      |   2 +-
 drivers/tty/tty_buffer.c  |   2 +-
 drivers/tty/tty_io.c      |   7 +-
 drivers/tty/tty_ldisc.c   | 447 +++++++++++++++------------------------------
 drivers/tty/tty_ldsem.c   | 453 ++++++++++++++++++++++++++++++++++++++++++++++
 include/linux/tty.h       |   4 +-
 include/linux/tty_ldisc.h |  49 ++++-
 7 files changed, 653 insertions(+), 311 deletions(-)
 create mode 100644 drivers/tty/tty_ldsem.c
Signature · 1 line
1.8.1.2