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


Message #50 received at 12450 <at> debbugs.gnu.org (full text, mbox):

From: Paul Eggert <eggert <at> cs.ucla.edu>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: lekktu <at> gmail.com, rms <at> gnu.org, 12450 <at> debbugs.gnu.org
Subject: Re: Remove configure's --without-sync-input option.
Date: Sun, 16 Sep 2012 01:17:33 -0700
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.
Since it's never invoked, gmalloc.c's behavior cannot possibly change
if we remove it.

> Perhaps you don't care about platforms that use gmalloc.

No, the argument is independent of whether the platform uses gmalloc.
The point is that we can remove code that's never invoked,
and we can remove all variables that are used only by that code.





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.