Subject: Re: Time to fix a 25 year old misdesign
To: Lennart Augustsson <email@example.com>
From: enami tsugutomo <firstname.lastname@example.org>
Date: 10/17/2000 16:49:07
Lennart Augustsson <email@example.com> 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.