From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Aligned blocks management: obsolete? Date: Mon, 12 Dec 2011 08:13:43 -0500 Message-ID: References: <4EE5B744.1090103@yandex.ru> Reply-To: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org X-Trace: dough.gmane.org 1323695640 13704 80.91.229.12 (12 Dec 2011 13:14:00 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 12 Dec 2011 13:14:00 +0000 (UTC) Cc: emacs-devel@gnu.org To: Dmitry Antipov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Dec 12 14:13:53 2011 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Ra5hY-0006lc-Uz for ged-emacs-devel@m.gmane.org; Mon, 12 Dec 2011 14:13:53 +0100 Original-Received: from localhost ([::1]:47317 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ra5hY-0007X1-EE for ged-emacs-devel@m.gmane.org; Mon, 12 Dec 2011 08:13:52 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:55352) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ra5hV-0007Ww-Ls for emacs-devel@gnu.org; Mon, 12 Dec 2011 08:13:50 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Ra5hP-0000kv-Of for emacs-devel@gnu.org; Mon, 12 Dec 2011 08:13:49 -0500 Original-Received: from fencepost.gnu.org ([140.186.70.10]:48841) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ra5hP-0000kr-EV for emacs-devel@gnu.org; Mon, 12 Dec 2011 08:13:43 -0500 Original-Received: from eliz by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1Ra5hP-0003d8-5s; Mon, 12 Dec 2011 08:13:43 -0500 In-reply-to: <4EE5B744.1090103@yandex.ru> (message from Dmitry Antipov on Mon, 12 Dec 2011 12:11:48 +0400) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.10 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:146669 Archived-At: > Date: Mon, 12 Dec 2011 12:11:48 +0400 > From: Dmitry Antipov > > Is it still required to maintain the cache of aligned blocks > to workaround poor malloc behavior? Can you please tell what you mean by that? Are you alluding to lisp_align_malloc and its subroutines, or to something else? > I believe an attached > example should perform well (i.e. allocate ~4K blocks without > ~4K holes between them) on top of any non-ancient glibc (no > ideas about other system malloc implementations, BTW). I hope Emacs is not on its way to become a glibc-only project. Quite a few supported platforms don't use glibc: Cygwin, *BSD (AFAIK), Windows. Are platforms that use gmalloc.c, with or without ralloc.c, OK in this regard? If not, what feature(s) are missing that are present in glibc?