From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?utf-8?B?T25kxZllaiBCw61sa2E=?= Newsgroups: gmane.emacs.devel Subject: [RFC] Replacing malloc_get_state functionality. Date: Fri, 21 Feb 2014 00:29:41 +0100 Message-ID: <20140220232941.GA2929@domone.podge> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1392965776 22542 80.91.229.3 (21 Feb 2014 06:56:16 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 21 Feb 2014 06:56:16 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Feb 21 07:56:23 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 1WGk21-000767-03 for ged-emacs-devel@m.gmane.org; Fri, 21 Feb 2014 07:56:21 +0100 Original-Received: from localhost ([::1]:42448 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WGk20-00072G-MK for ged-emacs-devel@m.gmane.org; Fri, 21 Feb 2014 01:56:20 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:34546) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WGd3x-0003HP-Pc for emacs-devel@gnu.org; Thu, 20 Feb 2014 18:29:59 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WGd3r-0005sG-QH for emacs-devel@gnu.org; Thu, 20 Feb 2014 18:29:53 -0500 Original-Received: from popelka.ms.mff.cuni.cz ([195.113.20.131]:35405) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WGd3r-0005sA-Kk for emacs-devel@gnu.org; Thu, 20 Feb 2014 18:29:47 -0500 Original-Received: from domone.kolej.mff.cuni.cz (popelka.ms.mff.cuni.cz [195.113.20.131]) by popelka.ms.mff.cuni.cz (Postfix) with ESMTPS id BE36943217 for ; Fri, 21 Feb 2014 00:29:42 +0100 (CET) Original-Received: by domone.kolej.mff.cuni.cz (Postfix, from userid 1000) id 801785F802; Fri, 21 Feb 2014 00:29:42 +0100 (CET) Content-Disposition: inline User-Agent: Mutt/1.5.20 (2009-06-14) X-Virus-Scanned: clamav-milter 0.97.8 at popelka.ms.mff.cuni.cz X-Virus-Status: Clean X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 195.113.20.131 X-Mailman-Approved-At: Fri, 21 Feb 2014 01:56:17 -0500 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:169799 Archived-At: Hi, I as glibc contributor want to ask how feasible is replacing malloc_get_state functionality in unexec by something else. If so we could deprecate it for new binaries and use better malloc. In libc having to support it increases our maintaince burden and indirectly harms performance of most applications as this gets in the way of neccessary optimizations. There are several ways how to do this, one would be use generic dump framework, second would be separate malloc into standalone library and linking with that would ensure it would work forever. Or some other way that I am unaware of? Ondra