unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Gaute B Strokkenes <biggaute@uwc.net>
Cc: emacs-devel@gnu.org
Subject: Re: Alignment of Lisp_Subr
Date: Sun, 16 Nov 2003 11:25:13 +0100	[thread overview]
Message-ID: <871xs8pq46.fsf@srcf.ucam.org> (raw)
In-Reply-To: <87r80bdw9q.fsf@tleepslib.sk.tsukuba.ac.jp> (Stephen J. Turnbull's message of "Fri, 14 Nov 2003 20:28:33 +0900")

On 14 nov 2003, stephen@xemacs.org wrote:

>>>>>> "Gaute" == Gaute B Strokkenes <Gaute> 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!!

  reply	other threads:[~2003-11-16 10:25 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-11-12 16:22 Alignment of Lisp_Subr Stefan Monnier
2003-11-12 23:30 ` Miles Bader
2003-11-13 16:18   ` Stephen J. Turnbull
2003-11-14  5:23     ` Gaute B Strokkenes
2003-11-14 11:28       ` Stephen J. Turnbull
2003-11-16 10:25         ` Gaute B Strokkenes [this message]
2003-11-13  2:40 ` Richard Stallman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=871xs8pq46.fsf@srcf.ucam.org \
    --to=biggaute@uwc.net \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).