[openib-general] [openfabrics-ewg] OFED 1.1 RC7 fork() issue.

Michael S. Tsirkin mst at mellanox.co.il
Tue Oct 17 09:48:22 PDT 2006


Quoting r. glebn at voltaire.com <glebn at voltaire.com>:
> Subject: Re: [openfabrics-ewg] OFED 1.1 RC7 fork() issue.
> 
> On Tue, Oct 17, 2006 at 10:34:23AM -0500, Tang, Changqing wrote:
> > 
> > >3. Fork support from kernel 2.6.12 and above is available 
> > >provided that applications do not use threads. The fork() is 
> > >supported as long as parent process does not run before child 
> > >exits or calls exec().
> > 
> > After fork(), in child, before exec(), can we call printf(), putenv(),
> > or even re-direct stdout/stderr ?
> > 
> Child can do whatever he wants (except using verbs), but parent can't use
> verbs until child exits() or execs().

Or even write to registered pages at all.

-- 
MST




More information about the general mailing list