From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Wolfgang Jenkner Newsgroups: gmane.emacs.devel Subject: Re: Removal of unexec support from glibc malloc Date: Mon, 18 Jan 2016 21:36:56 +0100 Message-ID: <854meaeiaf.fsf@iznogoud.viz> References: <569CDB81.6040600@redhat.com> <569D3BE0.6050103@cs.ucla.edu> <569D4207.4060209@cs.ucla.edu> <83mvs2d5b2.fsf@gnu.org> <858u3meiv1.fsf@iznogoud.viz> <83io2qd41o.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1453149440 21724 80.91.229.3 (18 Jan 2016 20:37:20 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 18 Jan 2016 20:37:20 +0000 (UTC) Cc: fweimer@redhat.com, eggert@cs.ucla.edu, Emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jan 18 21:37:12 2016 Return-path: Envelope-to: ged-emacs-devel@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 1aLGY4-0003fT-Ay for ged-emacs-devel@m.gmane.org; Mon, 18 Jan 2016 21:37:12 +0100 Original-Received: from localhost ([::1]:33600 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aLGY3-0008Lk-Md for ged-emacs-devel@m.gmane.org; Mon, 18 Jan 2016 15:37:11 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:50773) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aLGY0-0008LZ-DV for emacs-devel@gnu.org; Mon, 18 Jan 2016 15:37:09 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aLGXx-00067a-8c for emacs-devel@gnu.org; Mon, 18 Jan 2016 15:37:08 -0500 Original-Received: from b2bfep15.mx.upcmail.net ([62.179.121.60]:35653) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aLGXw-00067S-Ts for emacs-devel@gnu.org; Mon, 18 Jan 2016 15:37:05 -0500 Original-Received: from edge11.upcmail.net ([192.168.13.81]) by b2bfep15.mx.upcmail.net (InterMail vM.8.01.05.18 201-2260-151-151-20140610) with ESMTP id <20160118203658.JGDG27614.b2bfep15-int.chello.at@edge11.upcmail.net> for ; Mon, 18 Jan 2016 21:36:58 +0100 Original-Received: from iznogoud.viz ([91.119.110.52]) by edge11.upcmail.net with edge id 7Ycx1s00717sUYT0BYcx3H; Mon, 18 Jan 2016 21:36:58 +0100 X-SourceIP: 91.119.110.52 Original-Received: from wolfgang by iznogoud.viz with local (Exim 4.86 (FreeBSD)) (envelope-from ) id 1aLGXo-0000H9-Sw; Mon, 18 Jan 2016 21:36:56 +0100 Mail-Followup-To: Eli Zaretskii , fweimer@redhat.com, eggert@cs.ucla.edu, Emacs-devel@gnu.org In-Reply-To: <83io2qd41o.fsf@gnu.org> (Eli Zaretskii's message of "Mon, 18 Jan 2016 22:29:55 +0200") User-Agent: Gnus/5.130014 (Ma Gnus v0.14) Emacs/25.1.50 (berkeley-unix) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 62.179.121.60 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 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.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:198289 Archived-At: On Mon, Jan 18 2016, Eli Zaretskii wrote: >> > There's also what the MS-Windows port does (temacs allocates off a >> > static array), which AFAIK is entirely portable, and doesn't require >> > mmap. See w32heap.c. >> >> Isn't hybrid malloc the portable version of this? > > No, not AFAIU. I meant: Hybrid malloc uses src/sheap.c, which implements a static array which is used for allocations before dumping. And this is portable. I didn't want to imply any genealogical relations between this and w32heap.c.