Subject: Re: Speeding up fork/wait path
To: Manuel Bouyer <bouyer@antioche.eu.org>
From: Frank van der Linden <fvdl@netbsd.org>
List: tech-kern
Date: 10/28/2003 13:31:06
On Tue, Oct 28, 2003 at 12:11:13AM +0100, Manuel Bouyer wrote:
> You could then have the reaper run as a background low-priority task.
> It wouldn't need to be waked up at each process exit(), and could
> batch the clean ups, reducing the number of context switches on a
> loaded system.

Yes, but that might give you the same problem as with the ffs syncer,
i.e. possibly running into resource shortages if things fork/exit
too quickly. Then you have to add hacks to kick the reaper into
action, etc, etc.

- Frank

-- 
Frank van der Linden                                            fvdl@netbsd.org
===============================================================================
NetBSD. Free, Unix-like OS. > 45 different platforms.    http://www.netbsd.org/