Subject: Re: vfork + /bin/sh
To: None <tech-userlevel@netbsd.org>
From: Geoff Wing <mason@primenet.com.au>
List: tech-userlevel
Date: 05/15/2000 02:00:17
R. C. Dowdeswell <elric@mabelode.imrryr.org> typed:
:I have just committed some changes that make /bin/sh vfork(2) when it can.
:For something like:
:for i in $(jot 2000); do /bin/echo -n; done
:This results in a 30-50% speed improvement.
:If you discover any problems that this caused, please feel free to email
:me and send-pr.  ;-)

I thought we tried that path once (i.e. adding vfork() to sh) and it was
backed out for some reason.  Maybe I'm totally wrong and am remembering
something else - sorry, I can't check the CVS logs until anoncvs comes
back up.

Regards,
-- 
Geoff Wing : <gcw@pobox.com>     Work URL: http://www.primenet.com.au/
Rxvt Stuff : <gcw@rxvt.org>      Ego URL : http://pobox.com/~gcw/
Zsh Stuff  : <gcw@zsh.org>       Phone   : (Australia) 0413 431 874