Subject: Re: Time to fix a 25 year old misdesign
To: Lennart Augustsson <lennart@augustsson.net>
From: enami tsugutomo <enami@sm.sony.co.jp>
List: tech-kern
Date: 10/17/2000 16:49:07
Lennart Augustsson <lennart@augustsson.net> 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.
enami.