From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Angelo Graziosi Newsgroups: gmane.emacs.devel Subject: Re: Emacs HEAD regressions (another test case) Date: Fri, 06 Feb 2009 17:05:52 +0100 Message-ID: <498C5FE0.6020404@alice.it> References: <498964C5.5020906@alice.it> <18826.28789.943303.596345@priss.frightenedpiglet.com> <498ABAAC.3040308@alice.it> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1233939695 32413 80.91.229.12 (6 Feb 2009 17:01:35 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 6 Feb 2009 17:01:35 +0000 (UTC) Cc: sand@blarg.net, emacs-devel@gnu.org To: YAMAMOTO Mitsuharu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Feb 06 18:02:50 2009 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1LVU6D-00031W-N5 for ged-emacs-devel@m.gmane.org; Fri, 06 Feb 2009 18:02:41 +0100 Original-Received: from localhost ([127.0.0.1]:33317 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LVU4u-00011g-EQ for ged-emacs-devel@m.gmane.org; Fri, 06 Feb 2009 12:01:20 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LVTOY-00027N-VB for emacs-devel@gnu.org; Fri, 06 Feb 2009 11:17:35 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LVTOS-00023Q-VD for emacs-devel@gnu.org; Fri, 06 Feb 2009 11:17:33 -0500 Original-Received: from [199.232.76.173] (port=55143 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LVTOS-00023A-E8 for emacs-devel@gnu.org; Fri, 06 Feb 2009 11:17:28 -0500 Original-Received: from smtp-out05a.alice.it ([85.33.3.5]:1878) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LVTDr-0007Rw-G1 for emacs-devel@gnu.org; Fri, 06 Feb 2009 11:06:31 -0500 Original-Received: from FBCMMO02.fbc.local ([192.168.68.196]) by smtp-OUT05A.alice.it with Microsoft SMTPSVC(6.0.3790.1830); Fri, 6 Feb 2009 17:01:59 +0100 Original-Received: from FBCMCL01B02.fbc.local ([192.168.69.83]) by FBCMMO02.fbc.local with Microsoft SMTPSVC(6.0.3790.1830); Fri, 6 Feb 2009 17:06:31 +0100 Original-Received: from [82.57.168.146] ([82.57.168.146]) by FBCMCL01B02.fbc.local with Microsoft SMTPSVC(6.0.3790.3959); Fri, 6 Feb 2009 17:06:00 +0100 User-Agent: Thunderbird 2.0.0.19 (Windows/20081209) In-Reply-To: X-OriginalArrivalTime: 06 Feb 2009 16:06:00.0735 (UTC) FILETIME=[CDD08AF0:01C98874] X-detected-operating-system: by monty-python.gnu.org: Windows 2000 SP4, XP SP1+ X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:108826 Archived-At: YAMAMOTO Mitsuharu ha scritto: > > Could you try the patch below to see if it affects the performance? With the patch, Emacs HEAD works just fine! Thanks, Angelo. > > YAMAMOTO Mitsuharu > mituharu@math.s.chiba-u.ac.jp > > Index: src/atimer.c > =================================================================== > RCS file: /cvsroot/emacs/emacs/src/atimer.c,v > retrieving revision 1.31 > diff -c -p -r1.31 atimer.c > *** src/atimer.c 30 Jan 2009 13:06:09 -0000 1.31 > --- src/atimer.c 6 Feb 2009 10:59:24 -0000 > *************** run_timers () > *** 384,389 **** > --- 384,391 ---- > EMACS_GET_TIME (now); > } > > + if (atimers == NULL) > + pending_atimers = 0; > #ifdef SYNC_INPUT > if (pending_atimers) > pending_signals = 1;