From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Paul Eggert Newsgroups: gmane.emacs.bugs Subject: bug#22086: 25.1.50; [PATCH] Integrate the musl hybrid malloc patch for elf systems Date: Sun, 20 Dec 2015 18:37:35 -0800 Organization: UCLA Computer Science Department Message-ID: <567765EF.80401@cs.ucla.edu> References: <85poynxvgy.fsf@iznogoud.viz> <567120C0.6080803@cs.ucla.edu> <85h9jhdxl2.fsf@iznogoud.viz> <56772CB2.8060004@cs.ucla.edu> <20151221015952.GU238@brightrain.aerifal.cx> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1450665502 10676 80.91.229.3 (21 Dec 2015 02:38:22 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 21 Dec 2015 02:38:22 +0000 (UTC) Cc: Wolfgang Jenkner , 22086@debbugs.gnu.org To: Rich Felker Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Dec 21 03:38:10 2015 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1aAqMT-0001mf-Sn for geb-bug-gnu-emacs@m.gmane.org; Mon, 21 Dec 2015 03:38:10 +0100 Original-Received: from localhost ([::1]:42786 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aAqMT-0003Uf-7G for geb-bug-gnu-emacs@m.gmane.org; Sun, 20 Dec 2015 21:38:09 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:42756) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aAqMP-0003UX-Je for bug-gnu-emacs@gnu.org; Sun, 20 Dec 2015 21:38:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aAqMM-0006Wu-Cw for bug-gnu-emacs@gnu.org; Sun, 20 Dec 2015 21:38:05 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:50834) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aAqMM-0006Wo-9N for bug-gnu-emacs@gnu.org; Sun, 20 Dec 2015 21:38:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84) (envelope-from ) id 1aAqML-0006in-W2 for bug-gnu-emacs@gnu.org; Sun, 20 Dec 2015 21:38:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Paul Eggert Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 21 Dec 2015 02:38:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 22086 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 22086-submit@debbugs.gnu.org id=B22086.145066546725817 (code B ref 22086); Mon, 21 Dec 2015 02:38:01 +0000 Original-Received: (at 22086) by debbugs.gnu.org; 21 Dec 2015 02:37:47 +0000 Original-Received: from localhost ([127.0.0.1]:58436 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aAqM7-0006iK-Jy for submit@debbugs.gnu.org; Sun, 20 Dec 2015 21:37:47 -0500 Original-Received: from zimbra.cs.ucla.edu ([131.179.128.68]:56128) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aAqM6-0006i8-3G for 22086@debbugs.gnu.org; Sun, 20 Dec 2015 21:37:46 -0500 Original-Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id 0313916066C; Sun, 20 Dec 2015 18:37:40 -0800 (PST) Original-Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id dBN9Si1hzHR2; Sun, 20 Dec 2015 18:37:39 -0800 (PST) Original-Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id 525981607C4; Sun, 20 Dec 2015 18:37:39 -0800 (PST) X-Virus-Scanned: amavisd-new at zimbra.cs.ucla.edu Original-Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id i0z_ff4XrWR1; Sun, 20 Dec 2015 18:37:39 -0800 (PST) Original-Received: from [192.168.1.9] (pool-100-32-155-148.lsanca.fios.verizon.net [100.32.155.148]) by zimbra.cs.ucla.edu (Postfix) with ESMTPSA id 2FE1916066C; Sun, 20 Dec 2015 18:37:39 -0800 (PST) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.4.0 In-Reply-To: <20151221015952.GU238@brightrain.aerifal.cx> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:110225 Archived-At: Rich Felker wrote: > I don't object to this change if you can reliably ensure that nothing > in the pre-dump emacs will call malloc. We can't reliably ensure that, I'm afraid, as Emacs might call some library function that in turn calls malloc. It might be a 3rd-party library that Emacs has no control over. Why can't pre-dump emacs call malloc? Is it a performance thing or a correctness thing? If a performance thing it shouldn't be much of a problem, as we can arrange for Emacs to never directly call malloc, and that should be the vast majority of the calls.