Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 25 Sep 2004 05:21:49 -0700
From:      Bruce M Simpson <bms@spc.org>
To:        Dag-Erling =?iso-8859-1?Q?Sm=F8rgrav?= <des@des.no>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: execute a user process in the kernel
Message-ID:  <20040925122149.GD814@empiric.icir.org>
In-Reply-To: <xzpisa2twd0.fsf@dwp.des.no>
References:  <BAY1-F10eZZfm95LyRk00055aa3@hotmail.com> <16722.59709.451226.932084@guru.mired.org> <xzpekkrwsca.fsf@dwp.des.no> <20040925100740.GA814@empiric.icir.org> <xzpisa2twd0.fsf@dwp.des.no>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Sep 25, 2004 at 01:35:07PM +0200, Dag-Erling Smørgrav wrote:
> > If we were to implement POSIX spawn(), we'd need something like this.
> 
> Uh, no.  posix_spawn(3) can be implemented entirely in userland and
> does not require any special kernel support.

Discussions with peter@ and others on IRC have been ongoing regarding doing
it in kernel space, so as to avoid unnecessarily expensive VM fork operations
when 'spawning' a process.

I'd be interested to hear more about your proposal for doing this in userland.

BMS



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040925122149.GD814>