GNU bug report logs - #12450
Remove configure's --without-sync-input option.

Previous Next

Package: emacs;

Reported by: Paul Eggert <eggert <at> cs.ucla.edu>

Date: Sat, 15 Sep 2012 07:57:02 UTC

Severity: normal

Done: Paul Eggert <eggert <at> cs.ucla.edu>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: Paul Eggert <eggert <at> cs.ucla.edu>
Cc: lekktu <at> gmail.com, rms <at> gnu.org, 12450 <at> debbugs.gnu.org
Subject: bug#12450: Remove configure's --without-sync-input option.
Date: Sun, 16 Sep 2012 11:24:02 +0300
> Date: Sun, 16 Sep 2012 01:17:33 -0700
> From: Paul Eggert <eggert <at> cs.ucla.edu>
> CC: rms <at> gnu.org, 12450 <at> debbugs.gnu.org, lekktu <at> gmail.com
> 
> On 09/16/2012 01:05 AM, Eli Zaretskii wrote:
> 
> >> No, it is not used indirectly.  emacs_blocked_malloc is the only
> >> function that uses malloc_hysteresis to set __malloc_extra_blocks.
> >> And emacs_blocked_malloc is invoked only in the non-SYNC_INPUT code.
> > 
> > Which means that gmalloc.c, and any memory allocation based on that,
> > will work differently with that function removed
> 
> No, because the function is never invoked, if we assume SYNC_INPUT.

Yes, it _is_ invoked on platforms that don't use SYNC_INPUT now.

And in addition, we cannot be sure whether its non-invocation on
SYNC_INPUT platforms isn't a simple omission, because most Posix
platforms use neither gmalloc nor ralloc.c.  So, when SYNC_INPUT was
coded, it's quite possible that assignment to __malloc_extra_blocks
was omitted by mistake that never got revealed.




This bug report was last modified 12 years and 249 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.