Fix session leader exit hang
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest5 patches 1 replyIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | tty: Refactor session leader SIGHUP from __tty_hangup()drivers/ | +50 | 0 replies | |
| 2/5 | tty: Fix spinlock flavor in non-atomic __tty_hangup()drivers/ | +2 | 0 replies | |
| 3/5 | tty: Use spin_lock() inside existing critical regiondrivers/ | +2 | 0 replies | |
| 4/5 | tty: Signal foreground group processes in hangupdrivers/ | +48 | 0 replies | |
| 5/5 | tty: Signal SIGHUP before hanging up ldiscdrivers/ | +5 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/5] Fix session leader exit hang
When a session leader exits, it hangs up the controlling tty and then signals the foreground group processes with SIGHUP. This sequence can hang as reported by Sasha Levin, and noted in the changelog of 'tty: Signal SIGHUP before hanging up ldisc'.
Peter Hurley (5):
tty: Refactor session leader SIGHUP from __tty_hangup()
tty: Fix spinlock flavor in non-atomic __tty_hangup()
tty: Use spin_lock() inside existing critical region
tty: Signal foreground group processes in hangup
tty: Signal SIGHUP before hanging up ldisc
drivers/tty/tty_io.c | 144 ++++++++++++++++++++++++++++++++++----------------- 1 file changed, 96 insertions(+), 48 deletions(-)
Signature · 1 line
1.8.1.2