From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: master 2c79a8f 2/2: Use posix_spawn if possible. Date: Sat, 02 Jan 2021 08:53:00 +0200 Message-ID: <83czyng78z.fsf@gnu.org> References: <835z4qnhyx.fsf@gnu.org> <83y2hklqhg.fsf@gnu.org> <83wnx4lq3b.fsf@gnu.org> <86k0swut21.fsf@gmail.com> <861rf4nnuj.fsf@gmail.com> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="15768"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: Andy Moreton Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat Jan 02 07:53:51 2021 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kvanP-000414-9v for ged-emacs-devel@m.gmane-mx.org; Sat, 02 Jan 2021 07:53:51 +0100 Original-Received: from localhost ([::1]:40868 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kvanO-00052O-CZ for ged-emacs-devel@m.gmane-mx.org; Sat, 02 Jan 2021 01:53:50 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:43000) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kvamp-0004c4-E4 for emacs-devel@gnu.org; Sat, 02 Jan 2021 01:53:15 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:48497) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kvamp-0004WS-79; Sat, 02 Jan 2021 01:53:15 -0500 Original-Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:4866 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kvamo-0007aZ-Ib; Sat, 02 Jan 2021 01:53:15 -0500 In-Reply-To: <861rf4nnuj.fsf@gmail.com> (message from Andy Moreton on Sat, 02 Jan 2021 01:12:36 +0000) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:262292 Archived-At: > From: Andy Moreton > Date: Sat, 02 Jan 2021 01:12:36 +0000 > > > posix_spawn is supposed to be significantly faster than fork/exec on > > macOS and Cygwin. > > Thanks Alan, useful info. However Philipp started with Linux, so there > ought to also be something useful there that motivated these patches. I > would be interested to learn what helps on Linux. AFAIK, the speedup also happens on GNU/Linux.