Subject: Re: SMP problems in fork()?
To: Perry E. Metzger <perry@piermont.com>
From: Jason R Thorpe <thorpej@wasabisystems.com>
List: tech-kern
Date: 12/08/2002 20:59:52
On Sun, Dec 08, 2002 at 10:41:12PM -0500, Perry E. Metzger wrote:

 > Jason R Thorpe <thorpej@wasabisystems.com> writes:
 > > On Sun, Dec 08, 2002 at 09:42:58PM +0100, Emmanuel Dreyfus wrote:
 > >  > It seems to me that we need to cleanup the end of fork1(), but I'm not
 > >  > sure of what should be done.
 > > 
 > > You've just discovered one of the wonderful reasons why we must still run
 > > with a Giant Kernel Lock.
 > 
 > Sure, but it would be worthwhile to fix it...

Well, obviously.  But my point is that the solution is going to be
more than just a "simple cleanup".  It is going to involve redesigning
the locking protocol in the scheduler, and inventing one for the process
data structures.

-- 
        -- Jason R. Thorpe <thorpej@wasabisystems.com>