[PATCH 0/5] wait_task_* cleanups V2

Vitaly Mayatskikh
2009-05-11T13:27:20Z

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(-)