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: Wed, 23 Dec 2015 00:31:00 -0800 Organization: UCLA Computer Science Department Message-ID: <567A5BC4.6080209@cs.ucla.edu> References: <85poynxvgy.fsf@iznogoud.viz> <567120C0.6080803@cs.ucla.edu> <85h9jhdxl2.fsf@iznogoud.viz> <56772CB2.8060004@cs.ucla.edu> <851tafesuw.fsf@iznogoud.viz> <5678318C.5030503@cs.ucla.edu> <85si2vd83w.fsf@iznogoud.viz> 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 1450859542 9532 80.91.229.3 (23 Dec 2015 08:32:22 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 23 Dec 2015 08:32:22 +0000 (UTC) Cc: Rich Felker , 22086@debbugs.gnu.org To: Wolfgang Jenkner Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Dec 23 09:32:12 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 1aBeqC-0007Kf-3h for geb-bug-gnu-emacs@m.gmane.org; Wed, 23 Dec 2015 09:32:12 +0100 Original-Received: from localhost ([::1]:55024 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aBeqB-0006yU-Dc for geb-bug-gnu-emacs@m.gmane.org; Wed, 23 Dec 2015 03:32:11 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:55364) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aBeq7-0006wm-EZ for bug-gnu-emacs@gnu.org; Wed, 23 Dec 2015 03:32:08 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aBeq2-0003Lu-Ed for bug-gnu-emacs@gnu.org; Wed, 23 Dec 2015 03:32:07 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:52803) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aBeq2-0003Lh-CH for bug-gnu-emacs@gnu.org; Wed, 23 Dec 2015 03:32:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84) (envelope-from ) id 1aBeq2-0002en-3W for bug-gnu-emacs@gnu.org; Wed, 23 Dec 2015 03:32: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: Wed, 23 Dec 2015 08:32:02 +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.145085946910148 (code B ref 22086); Wed, 23 Dec 2015 08:32:02 +0000 Original-Received: (at 22086) by debbugs.gnu.org; 23 Dec 2015 08:31:09 +0000 Original-Received: from localhost ([127.0.0.1]:60405 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aBepB-0002db-48 for submit@debbugs.gnu.org; Wed, 23 Dec 2015 03:31:09 -0500 Original-Received: from zimbra.cs.ucla.edu ([131.179.128.68]:42383) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aBep9-0002dL-CC for 22086@debbugs.gnu.org; Wed, 23 Dec 2015 03:31:07 -0500 Original-Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id C1A661601D5; Wed, 23 Dec 2015 00:31:01 -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 y3Z4jyagi0Ss; Wed, 23 Dec 2015 00:31:01 -0800 (PST) Original-Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id 21253160D25; Wed, 23 Dec 2015 00:31:01 -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 HnYlt93kd9WW; Wed, 23 Dec 2015 00:31:01 -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 00B531601D5; Wed, 23 Dec 2015 00:31:00 -0800 (PST) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.4.0 In-Reply-To: <85si2vd83w.fsf@iznogoud.viz> 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:110303 Archived-At: Wolfgang Jenkner wrote: >> If we don't need the static heap, then let's ditch it. > > Is it needed for what you have in mind? I hope not. Perhaps it is needed for Cygwin, for reasons I don't understand. If it is needed then obviously we should keep it, and use the hybrid allocator. If not, not. >> Regardless, we >> shouldn't be trying to redefine 'malloc', nor should we be supplying >> our own allocator merely because that was a good idea back in 1989. > > Isn't this a minor problem since it concerns only those systems which > will still need the malloc from src/gmalloc.c after dumping (non-ELF > unix-like systems)? Yes, it's a minor problem, in that none of these systems actually need gmalloc.c any more. If I understand things correctly, the main "problem" here (and it is a good problem to have) is that we need to carefully excise gmalloc.c out of Emacs, without breaking things.