From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Paul Eggert Newsgroups: gmane.emacs.bugs Subject: bug#12450: Remove configure's --without-sync-input option. Date: Sun, 16 Sep 2012 01:17:33 -0700 Organization: UCLA Computer Science Department Message-ID: <50558B1D.3010304@cs.ucla.edu> References: <50543449.1070306@cs.ucla.edu> <83k3vvtyw0.fsf@gnu.org> <5054551A.1070207@cs.ucla.edu> <837grvtuo5.fsf@gnu.org> <5054DE30.1020806@cs.ucla.edu> <83fw6iscip.fsf@gnu.org> <5055842D.7070407@cs.ucla.edu> <83boh6s87w.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1347783480 11673 80.91.229.3 (16 Sep 2012 08:18:00 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 16 Sep 2012 08:18:00 +0000 (UTC) Cc: lekktu@gmail.com, rms@gnu.org, 12450@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Sep 16 10:18:03 2012 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1TDA3G-0001QH-W3 for geb-bug-gnu-emacs@m.gmane.org; Sun, 16 Sep 2012 10:18:03 +0200 Original-Received: from localhost ([::1]:48482 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TDA3C-0005Z4-N4 for geb-bug-gnu-emacs@m.gmane.org; Sun, 16 Sep 2012 04:17:58 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:37814) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TDA39-0005Xj-Lk for bug-gnu-emacs@gnu.org; Sun, 16 Sep 2012 04:17:56 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TDA38-0005tg-OK for bug-gnu-emacs@gnu.org; Sun, 16 Sep 2012 04:17:55 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:55058) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TDA38-0005tc-Kw for bug-gnu-emacs@gnu.org; Sun, 16 Sep 2012 04:17:54 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1TDA4D-0005XR-KU for bug-gnu-emacs@gnu.org; Sun, 16 Sep 2012 04:19:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Paul Eggert Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 16 Sep 2012 08:19:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 12450 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 12450-submit@debbugs.gnu.org id=B12450.134778352121264 (code B ref 12450); Sun, 16 Sep 2012 08:19:01 +0000 Original-Received: (at 12450) by debbugs.gnu.org; 16 Sep 2012 08:18:41 +0000 Original-Received: from localhost ([127.0.0.1]:36371 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TDA3s-0005Wu-MI for submit@debbugs.gnu.org; Sun, 16 Sep 2012 04:18:41 -0400 Original-Received: from smtp.cs.ucla.edu ([131.179.128.62]:39223) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TDA3q-0005Wn-9B for 12450@debbugs.gnu.org; Sun, 16 Sep 2012 04:18:38 -0400 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp.cs.ucla.edu (Postfix) with ESMTP id 2A53CA60001; Sun, 16 Sep 2012 01:17:30 -0700 (PDT) X-Virus-Scanned: amavisd-new at smtp.cs.ucla.edu Original-Received: from smtp.cs.ucla.edu ([127.0.0.1]) by localhost (smtp.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id nq9xRk0cuZxz; Sun, 16 Sep 2012 01:17:29 -0700 (PDT) Original-Received: from [192.168.1.3] (pool-108-23-119-2.lsanca.fios.verizon.net [108.23.119.2]) by smtp.cs.ucla.edu (Postfix) with ESMTPSA id 3BB3839E800D; Sun, 16 Sep 2012 01:17:29 -0700 (PDT) User-Agent: Mozilla/5.0 (X11; Linux i686; rv:15.0) Gecko/20120827 Thunderbird/15.0 In-Reply-To: <83boh6s87w.fsf@gnu.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:64397 Archived-At: 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.