Skip to content

do_wait cleanupe (more to come)

Oleg Nesterov lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 10 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5shift "ptrace implies WUNTRACED" from ptrace_do_wait() to wait_task_stopped()kernel/exit.c+4 -60 replies
2/5introduce "struct wait_opts" to simplify do_wait() patheskernel/exit.c+110 -974 replies
3/5do_wait: simplify retval/tsk_result/notask_error messkernel/exit.c+8 -121 reply
4/5do_wait: kill the old BUG_ON, use while_each_thread()kernel/exit.c+1 -31 reply
5/5do_wait: fix the theoretical race with stop/trace/contkernel/exit.c+2 -21 reply

Reviews trailers per patch

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

PatchRoland McGrathIngo Molnar
1/5A-b
2/5A-b R-b
3/5A-b
4/5A-b
5/5A-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/5] do_wait cleanupe (more to come)

Slightly tested. Definitely this needs more testing, but since a) the second patch was reviewed by Ingo and b) Andrew likes the buggy patches very much, I am sending this series. At least I believe this all is right "in general".

I was going to send more cleanups (siginfo/rusage filling), but it turns out we race with Vitaly who has already started this work.

Vitaly, could you re-diff your (imho very nice) changes on top of this series?

Oleg.