Subject: Re: Time to fix a 25 year old misdesign
To: Lennart Augustsson <firstname.lastname@example.org>
From: enami tsugutomo <email@example.com>
Date: 10/17/2000 16:49:07
Lennart Augustsson <firstname.lastname@example.org> writes:
> enami tsugutomo wrote:
> > For me, it looks like the problem is that kernel reuses pid while it
> > keeps a reference to struct pgrp (or proc) in other place.
> That's indeed the problem. The question is how you can solve it. :)
Make the kernel
- not to deallocate struct pgrp (or proc) while someone else
refers them. Remeber it instead.
- not to reuse pgid (or pid) of such objects as new pid.