Subject: Re: LKM support for many filesystems as well as compat_freebsd
To: Chris G Demetriou <Chris_G_Demetriou@ux2.sp.cs.cmu.edu>
From: Michael Graff <explorer@flame.org>
List: tech-kern
Date: 08/12/1996 23:30:21
Chris G Demetriou <Chris_G_Demetriou@ux2.sp.cs.cmu.edu> writes:
> This _should_ be handled by doing a reference counting thing, and
> refusing to let the emulation be removed while in use...
Yes, you're right. It should be simple to do this, as well, since I think
an emulation has to "claim" ownership of an executable. The problem comes
when a process dies. I suppose, when the process is removed from the
system, it can decrement a reference count in the emulation structure
directly.
--Michael