tech-kern archive

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

Re: inheriting the lwp private area



On Wed, Mar 23, 2011 at 02:19:53PM +0000, Mindaugas Rasiukevicius wrote:

> Andrew Doran <ad%netbsd.org@localhost> wrote:
> > > 
> > > You mean l->l_private should be copied on fork?  Absolutely.
> > 
> > For native fork I agree, but that's probably not the right thing to do if
> > FORK_SHARESIGS or whatever it's called (i.e. clone()ing off a Linux-style
> > thread).
> > 
> > (Some day I hope we can emulate clone with _lwp_create() and undo a lot of
> > the complication to the process data structures.)
> 
> Chuck already did that for COMPAT_LINUX. :)  Do you mean something else?

Then its major usecase is gone and emulation may not be required in the long
term.  I'm fully aware of IRIX emulation and compatibility headaches.


Home | Main Index | Thread Index | Old Index