From owner-cvs-all@FreeBSD.ORG Sat Dec 13 14:35:07 2003 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DDFE116A4CE for ; Sat, 13 Dec 2003 14:35:07 -0800 (PST) Received: from smtp.mho.com (smtp.mho.net [64.58.4.6]) by mx1.FreeBSD.org (Postfix) with SMTP id 742E743D39 for ; Sat, 13 Dec 2003 14:35:04 -0800 (PST) (envelope-from scottl@freebsd.org) Received: (qmail 17611 invoked by uid 1002); 13 Dec 2003 22:35:01 -0000 Received: from unknown (HELO freebsd.org) (64.58.1.252) by smtp.mho.net with SMTP; 13 Dec 2003 22:35:01 -0000 Message-ID: <3FDB93C8.2070705@freebsd.org> From: Scott Long User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.5) Gecko/20031103 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Dag-Erling Smorgrav References: <200312131526.hBDFQRnb042150@repoman.freebsd.org> In-Reply-To: <200312131526.hBDFQRnb042150@repoman.freebsd.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: cvs-src@freebsd.org cc: src-committers@freebsd.org cc: cvs-all@freebsd.org Subject: Re: cvs commit: src/usr.bin/make main.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Date: Sat, 13 Dec 2003 22:35:08 -0000 X-Original-Date: Sat, 13 Dec 2003 15:33:44 -0700 X-List-Received-Date: Sat, 13 Dec 2003 22:35:08 -0000 Dag-Erling Smorgrav wrote: > des 2003/12/13 07:26:27 PST > > FreeBSD src repository > > Modified files: > usr.bin/make main.c > Log: > Install a SIGCHLD handler so select(2) will be interrupted when a child > terminates. Without this patch, 'make -j1 buildworld' takes about 30% > longer than 'make -B buildworld' on my 2.4 GHz P4; the difference is > probably even larger on faster systems. With this patch, there is no > perceptible difference in wall time between the two. > > Submitted by: bde > MFC after: 3 days > > Revision Changes Path > 1.86 +20 -0 src/usr.bin/make/main.c > Holy crap, this is cool. Thanks a lot for doing this. Does this mean that the poll interval (for checking child status) can be changed from 100ms back to something more reasonable? Scott