execute a user process in the kernel
Bruce M Simpson
bms at spc.org
Sat Sep 25 05:21:54 PDT 2004
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
More information about the freebsd-hackers
mailing list