On Mon, Jul 29, 2002 at 02:57:46PM -0500, Paul Larson wrote:
> This is a fix for the problem where get_pid will hang the machine if you
> request a new pid when all available pids are in use. This also adds
> the appropriate checking for p->tgid in get_pid that was somehow
> overlooked before. This patch has been in 2.4 since 2.4.19-pre9.
no please, this below patch is superior and it fixes as well fixes a
longstanding race condition in fork() (see the semaphore):
it may not apply cleanly but porting should be trivial.
Andrea
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Tue Jul 30 2002 - 14:00:34 EST