Re: init's children list is long and slows reaping children.

From: H. Peter Anvin
Date: Fri Apr 06 2007 - 15:07:32 EST


Eric W. Biederman wrote:

Oleg is coming from a different case where it was found that exiting kernel
threads were causing problems for nash when nash was run as init in an
initramfs. While I think that case is likely a user space bug because
nash should check the pid from waidpid before assuming the process it
was waiting for returned.


Are you saying waitpid() (wait4) *with a pid specified* can return another pid? That definitely sounds like a bug.

-hpa
-
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/