[PATCH 0/3] More cleanups in do_wait() pathes

From: Vitaly Mayatskikh
Date: Wed May 13 2009 - 08:09:07 EST


Further cleanups of do_wait() and friends. Thanks for all your
reviews of previous patches and ideas how to make it better. I'm currently
running kernel with these patches on my laptop for 1+ day, it is still able
to boot and live 5-10 hours w/o visible issues.

Next task is to optimize a bunch of put_user() in copy_wait_opts_to_user(),
but I'd like to use Ingo's idea with put_user_try/catch. Therefore, need to
implement generic stub for architectures which does not support try/catch yet.

Vitaly Mayatskikh (3):
Introduce "struct wait_info" to simplify wait_task*() pathes
Replace wait_noreap_copyout() by copy_wait_opts_to_user()
Move more common code from wait_task_*() to copy_wait_opts_to_user()

kernel/exit.c | 127 +++++++++++++++++++++++++++-----------------------------
1 files changed, 61 insertions(+), 66 deletions(-)

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/