More cleanups in do_wait() pathes
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 patches 4 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | Introduce "struct wait_info" to simplify wait_task*() patheskernel/ | +63 | 4 replies | |
| 2/3 | Replace wait_noreap_copyout() by copy_wait_opts_to_user()kernel/ | +5 | 0 replies | |
| 3/3 | Move more common code from wait_task_*() to copy_wait_opts_to_user()kernel/ | +16 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/3] More cleanups in do_wait() pathes
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(-)