Skip to content

signal: simplify/document lock_task_sighand() logic

Oleg Nesterov lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 11 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2signal: simplify deadlock-avoidance in lock_task_sighand()kernel/signal.c+13 -189 replies
2/2signal: document the RCU protection of ->sighandkernel/fork.c kernel/signal.c+15 -22 replies

Reviews trailers per patch

1 of 2 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchSteven RostedtRik van Riel
SeriesR-b R-b
1/2
2/2R-b R-b

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

Read the v1 thread

Cover letter [PATCH 0/2] signal: simplify/document lock_task_sighand() logic
Quoted 4 lines · Steven Rostedt

You know, this code could use some comments. I may send you a patch, because that __lock_task_sighand() is doing a lot of subtle things and there's not a single comment explaining it :-(

Sorry for delay.

Does 2/2 look clear enough?

Oleg.

 kernel/fork.c   |    5 ++++-
 kernel/signal.c |   43 ++++++++++++++++++++++++-------------------
 2 files changed, 28 insertions(+), 20 deletions(-)