Skip to content

wait_task_* cleanups V2

Vitaly Mayatskikh lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 14 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5Split wait_noreap_copyout()kernel/exit.c+23 -168 replies
2/5Use copy_wait_opts_to_user() in wait_task_stopped()kernel/exit.c+1 -190 replies
3/5Use copy_wait_opts_to_user() in do_wait()kernel/exit.c+1 -141 reply
4/5Use copy_wait_opts_to_user() in wait_task_zombie()kernel/exit.c+11 -281 reply
5/5Use copy_wait_opts_to_user() in wait_task_continued()kernel/exit.c+10 -133 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/5] wait_task_* cleanups V2

These patches eliminate duplicate code for filling rusage and siginfo structures in wait_task_*() routines. The work is based on top of recent Oleg's changes in do_wait().

I'm running kernel with these changes on my laptop for one day, nothing exploded (yet).

More changes to come.

Vitaly Mayatskikh (5):
Split wait_noreap_copyout()
Use copy_wait_opts_to_user() in wait_task_stopped() Use copy_wait_opts_to_user() in do_wait() Use copy_wait_opts_to_user() in wait_task_zombie() Use copy_wait_opts_to_user() in wait_task_continued()

 kernel/exit.c |  136 +++++++++++++++++++-------------------------------------
 1 files changed, 46 insertions(+), 90 deletions(-)