From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Nix Newsgroups: gmane.emacs.devel Subject: Re: Time to drop the pre-dump phase in the build? Date: Sun, 12 Jan 2014 00:16:17 +0000 Message-ID: <87r48ehx66.fsf@spindle.srvr.nix> References: <20140110191530.5772E38019B@snark.thyrsus.com> <83ha9bborj.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1389485807 16148 80.91.229.3 (12 Jan 2014 00:16:47 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 12 Jan 2014 00:16:47 +0000 (UTC) Cc: esr@thyrsus.com, Eli Zaretskii , "Stephen J. Turnbull" , emacs-devel@gnu.org To: Richard Stallman Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Jan 12 01:16:48 2014 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 1W28jQ-0000xa-HJ for ged-emacs-devel@m.gmane.org; Sun, 12 Jan 2014 01:16:48 +0100 Original-Received: from localhost ([::1]:35959 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W28jP-0004a0-D2 for ged-emacs-devel@m.gmane.org; Sat, 11 Jan 2014 19:16:47 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:43030) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W28jH-0004Zt-9Q for emacs-devel@gnu.org; Sat, 11 Jan 2014 19:16:45 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W28jB-0004YX-8v for emacs-devel@gnu.org; Sat, 11 Jan 2014 19:16:39 -0500 Original-Received: from icebox.esperi.org.uk ([81.187.191.129]:47643 helo=mail.esperi.org.uk) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W28iy-0004KA-Dv; Sat, 11 Jan 2014 19:16:20 -0500 Original-Received: from spindle.srvr.nix (nix@spindle.srvr.nix [192.168.14.15]) by mail.esperi.org.uk (8.14.7/8.14.7) with ESMTP id s0C0GHh6016113; Sun, 12 Jan 2014 00:16:17 GMT Emacs: ed :: 20-megaton hydrogen bomb : firecracker In-Reply-To: (Richard Stallman's message of "Sat, 11 Jan 2014 02:17:10 -0500") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) X-DCC-STAT_FI_X86_64_VIRTUAL-Metrics: spindle 1245; Body=5 Fuz1=5 Fuz2=5 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 81.187.191.129 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:168137 Archived-At: On 11 Jan 2014, Richard Stallman outgrape: > 20 years ago we needed to port the dumping code to various different > systems. It was substantial work. But it seems there have been no new > such systems in a long time, and that code seems to be stable. It still requires substantial ugly hacks, e.g. there is code in glibc to serialize and deserialize malloc state whose sole purpose is to support Emacs dumping, and which cannot be changed since that would force Emacs to be redumped when glibc was upgraded. It seems plausible that this might eventually retard glibc allocator development :( XEmacs long ago migrated to a 'portable undumper', whereby (IIRC) the Lisp heap is serialized into a form that is then mmap()ed in at startup time (using a separate file, so unexec() is no longer necessary). It was a lot of work, but doing something similar might be worth considering in the future anyway. -- NULL && (void)