DragonFly BSD
DragonFly commits List (threaded) for 2005-10
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: cvs commit: src/sys/ddb db_ps.c src/sys/i386/i386 trap.c vm86.c src/sys/kern init_main.c kern_clock.c kern_exit.c kern_fork.c kern_resource.c kern_sig.c kern_synch.c kern_upcall.c lwkt_thread.c usched_bsd4.c vfs_aio.c src/sys/netproto/smb ...


From: Joerg Sonnenberger <joerg@xxxxxxxxxxxxxxxxx>
Date: Tue, 11 Oct 2005 21:07:03 +0200
Mail-followup-to: commits@crater.dragonflybsd.org

On Tue, Oct 11, 2005 at 08:41:15PM +0200, Simon 'corecode' Schubert wrote:
> Fork needs to take a lwp because the new proc's only lwp will be a copy 
> of the current lwp.  When we split out lwp from proc we'll have a lwp0 
> anyways.

You can implement it either way -- full proc forking or just one lwp.
The latter is most likely faster though :-)

Joerg



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]