From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Gaute B Strokkenes Newsgroups: gmane.emacs.devel Subject: Re: Alignment of Lisp_Subr Date: Sun, 16 Nov 2003 11:25:13 +0100 Organization: The Church of Emacs Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <871xs8pq46.fsf@srcf.ucam.org> References: <20031112233013.GB27000@fencepost> <87llqkgs32.fsf@tleepslib.sk.tsukuba.ac.jp> <87u1577cba.fsf@srcf.ucam.org> <87r80bdw9q.fsf@tleepslib.sk.tsukuba.ac.jp> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1068978567 8288 80.91.224.253 (16 Nov 2003 10:29:27 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 16 Nov 2003 10:29:27 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Sun Nov 16 11:29:24 2003 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1ALK9k-0001cq-00 for ; Sun, 16 Nov 2003 11:29:24 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1ALK9k-0003D8-00 for ; Sun, 16 Nov 2003 11:29:24 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1ALL6J-0008Mw-FO for emacs-devel@quimby.gnus.org; Sun, 16 Nov 2003 06:29:55 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24) id 1ALL65-0008Lv-92 for emacs-devel@gnu.org; Sun, 16 Nov 2003 06:29:41 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24) id 1ALL5V-0008CD-88 for emacs-devel@gnu.org; Sun, 16 Nov 2003 06:29:36 -0500 Original-Received: from [62.79.79.113] (helo=smtp210.tiscali.dk) by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.24) id 1ALL5T-0008CA-Fd for emacs-devel@gnu.org; Sun, 16 Nov 2003 06:29:04 -0500 Original-Received: from cpmail.dk.tiscali.com (mail.tiscali.dk [212.54.64.159]) by smtp210.tiscali.dk (8.12.6p3/8.12.6) with ESMTP id hAGARa4F012811; Sun, 16 Nov 2003 11:27:37 +0100 (CET) (envelope-from gs234@srcf.ucam.org) Original-Received: from belldandy (213.234.95.64) by cpmail.dk.tiscali.com (6.7.018) id 3F796AEE00066AF7; Sun, 16 Nov 2003 11:27:36 +0100 Original-Received: from gs234 by belldandy with local (Exim 3.36 #1 (Debian)) id 1ALK5h-0007xg-00; Sun, 16 Nov 2003 11:25:13 +0100 Mail-Copies-To: never Original-To: "Stephen J. Turnbull" Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAG1BMVEWWWBTly7aGMwb+/vz9 +ffIilb///+yaCxNCwHGVC3gAAACU0lEQVR4nF2TQWvjMBBGVUGwj3WxaY/aAWNfi0zuwZPuHp0Q ob079OwYjHrsChb0s3dGctJ0ddTzm9F8lsR7WiNiWWL/flviul9Uh0NR4vY/gJUxJjOEtt/AubBy UsotRfH2DbxWE0hom3w5XJUEKis9hACt2hR4B86VDOtqTNHfgeEGvLiUN7Ddze26Dx6y1CUa+ygo NwFQm0N/BeMzCZAtNIoQrd9EhcH5mWpnztB8ZpJBlH23jaAbuE4EhZ2Bam0TeJ0DRMCKVP6CegWk q4z2TVFUx0946FOPcSe9ELE3rSHAj15rBuddS0C4BGyAutfpVAQkKdZOQiwMMIHxlUDrgeej5Ns7 I/ccSWNBLda1XwYBEG1Qswy1yXJf879nA4cjkNI0H+FzoUyuRodPA5eqZwFONG34i30ccOxeKFUy flNe1szqsgLdvXwKCj6zjTXODHV9M46gZPCLlYKCGTYO8S0aOAvJzRfD0w+1XcGIsxLUw/sYl5sM 9n0yjkoSUDOByrijwRRiAq13NhqLJYB3ACazrgN2bIwanyJQKXhHAJPRPQruEaCJP2Shy4DJ2As+ FQjJZH7AZIy6w0pQiiRYAh8nTEZHYDfRqSDeB5OXq4EEcAC4NocvoBl4+n1cyl54nyLRNA3iIwRP wNGFOK1g1Gz8jNfaCjdtqJLm2LXuqMc+50cDIJQpr6X0OHa4X58ULAw03QbRd7GUiG/K04mj0bNB xQhwJkEsJiZ1Bbgb6CnF79cBE+jwF91qniOCP3fghUFKxOShjIATw/wOfIQTg39LpFHtxhlKywAA AABJRU5ErkJggg== In-Reply-To: <87r80bdw9q.fsf@tleepslib.sk.tsukuba.ac.jp> (Stephen J. Turnbull's message of "Fri, 14 Nov 2003 20:28:33 +0900") User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (gnu/linux) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:17844 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:17844 On 14 nov 2003, stephen@xemacs.org wrote: >>>>>> "Gaute" == Gaute B Strokkenes writes: > > Gaute> On 13 nov 2003, stephen@xemacs.org wrote: > >>> There may be issues with Lisp objects with tagbits at the >>> bottom. I know XEmacs had some problems on recent glibc, which >>> were never properly diagnosed. It's probable that this was due >>> to excessive cleverness in optimizing space use of malloc >>> blocks, but if you do run into weirdness (we were crashing) >>> feel free to ping me and I'll dig up the thread. > > Gaute> Are you saying that glibc malloc does not return blocks > Gaute> that are sufficiently aligned? My copy of the glibc manual > Gaute> says: > > No, I'm saying that XEmacs (which has had tagbits in the lower bits > for a couple of years now) was crashing for unknown reasons. > Wolfram Gloger thought it might have to do with tagbits in Lisp > objects, but the bug was never identified. Ah, sorry. I read you as saying that glibc was "excessively clever" with the way it managed memory, but on a second reading that's not what you were saying at all. As an aside, putting tagbits in the lowest order bits ought to make it easier to use emacs with the Boehm GC (though I'm not sure that is necessarily a great idea.) -- Gaute Strokkenes http://www.srcf.ucam.org/~gs234/ I know how to do SPECIAL EFFECTS!!