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: USE_LSB_TAG not supported on this platform Date: Tue, 09 Feb 2016 18:59:09 +0200 Message-ID: <83bn7pddlu.fsf@gnu.org> References: <86powcjei0.wl-herbert@mailbox.org> <56B3F962.8010203@cs.ucla.edu> <86mvrejegc.wl-herbert@mailbox.org> <86si15ygd9.wl-herbert@mailbox.org> <85twlksgds.fsf@iznogoud.viz> <8660y0nqze.wl-herbert@mailbox.org> <56B8F03C.3010709@cs.ucla.edu> <83lh6vot83.fsf@gnu.org> <56B9A5B1.5080101@cs.ucla.edu> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1455037186 15209 80.91.229.3 (9 Feb 2016 16:59:46 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 9 Feb 2016 16:59:46 +0000 (UTC) Cc: m43cap@yandex.com, herbert@mailbox.org, emacs-devel@gnu.org To: Paul Eggert Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Feb 09 17:59:36 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 1aTBdX-0002ZX-Pi for ged-emacs-devel@m.gmane.org; Tue, 09 Feb 2016 17:59:35 +0100 Original-Received: from localhost ([::1]:58181 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aTBdX-0002ZY-7j for ged-emacs-devel@m.gmane.org; Tue, 09 Feb 2016 11:59:35 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:40025) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aTBdT-0002ZJ-44 for emacs-devel@gnu.org; Tue, 09 Feb 2016 11:59:31 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aTBdS-0002IY-9D for emacs-devel@gnu.org; Tue, 09 Feb 2016 11:59:31 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:43985) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aTBdL-0002HP-B9; Tue, 09 Feb 2016 11:59:23 -0500 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:1248 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1aTBdK-00085G-I5; Tue, 09 Feb 2016 11:59:22 -0500 In-reply-to: <56B9A5B1.5080101@cs.ucla.edu> (message from Paul Eggert on Tue, 9 Feb 2016 00:39:13 -0800) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e 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:199612 Archived-At: > Cc: herbert@mailbox.org, emacs-devel@gnu.org, m43cap@yandex.com > From: Paul Eggert > Date: Tue, 9 Feb 2016 00:39:13 -0800 > > Eli Zaretskii wrote: > > Could you please add a commentary explaining the need for this > > additional layer of lmalloc/lrealloc? > > Sure. I gave it a shot in emacs-25 commit > b1079c0f86c218f016a6c2e84ea402f4e175fc53 as part of a patch to improve > portability to hosts where realloc and malloc can return pointers that are not > multiples of 8. (I don't have access to any such hosts, which I think are rare > nowadays though some may still exist.) Thanks. Out of curiosity: which hosts can behave like that? Also, why are we sure that the loops will end at some point on those hosts? Shouldn't we perhaps set a limit to the loop iterations, to be sure we don't infloop there?