wait_task_zombie plus WNOWAIT question

From: Vitaly Mayatskikh
Date: Wed Jul 01 2009 - 09:41:21 EST


Hi!

I'm working on (sigh) next version of wait_task_* cleanups and stuck
in wait_task_zombie. I'm trying to move put_user(stat, wo->wo_stat)
code from all wait_task_* functions to common place, but
wait_task_zombie does not fill wo_stat if WNOWAIT flag is set and does
it w/o that flag. Is it done so by design, or I can make
user-visible change and add put_user in WNOWAIT path?

Thanks!
--
wbr, Vitaly
--
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/