bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#12450: Remove configure's --without-sync-input option.


From: Paul Eggert
Subject: bug#12450: Remove configure's --without-sync-input option.
Date: Sun, 16 Sep 2012 00:47:57 -0700
User-agent: Mozilla/5.0 (X11; Linux i686; rv:15.0) Gecko/20120827 Thunderbird/15.0

On 09/15/2012 11:33 PM, Eli Zaretskii wrote:
>>>> -#ifdef REL_ALLOC
>>>> > >> -  malloc_hysteresis = 32;
>>>> > >> -#else
>>>> > >> -  malloc_hysteresis = 0;
>>>> > >> -#endif
>> > 
>> > malloc_hysteresis is used only by the non-SYNC_INPUT code.
> No, it is also used indirectly, via __malloc_extra_blocks, in
> gmalloc.c and in ralloc.c.

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.

> But there's something I don't understand about this snippet.  Why does
> it set the value to 32 conditioned by REL_ALLOC ...

A nice property of removing the non-SYNC_INPUT code is that
we don't need to worry about cruft like that, because it's
not being used and we can remove it.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]