bin/125185: csh(1) exit on signal 11

Nate Eldredge neldredge at math.ucsd.edu
Tue Jul 29 05:40:04 UTC 2008


The following reply was made to PR bin/125185; it has been noted by GNATS.

From: Nate Eldredge <neldredge at math.ucsd.edu>
To: bug-followup at FreeBSD.org, 666.root at gmail.com
Cc:  
Subject: Re: bin/125185: csh(1) exit on signal 11
Date: Mon, 28 Jul 2008 22:35:31 -0700 (PDT)

 FWIW, I ran the test at http://berlin.ccc.de/~packet/fork_test.c, 
 modifying it to malloc() 10 MB first, to make it have about the same size 
 as a csh process.  On my 1.8 GHz amd64 running 7.0-RELEASE I get
 
 measured fork time: 251396 nsecs
 measured vfork time: 243734 nsecs
 
 a difference of about 3%.  So the penalty for switching back to fork() 
 instead of vfork() wouldn't be very much, and this is certainly the 
 simplest fix -- a one-byte patch :)
 
 Thoughts?
 
 -- 
 
 Nate Eldredge
 neldredge at math.ucsd.edu


More information about the freebsd-bugs mailing list