From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#33194: 26.1; Auto-revert mode causes emacs to use 100% cpu whenever a file is being written to in the home directory Date: Tue, 30 Oct 2018 12:41:00 +0200 Message-ID: <834ld3lnsz.fsf@gnu.org> References: <878t2gbisr.fsf@gmx.de> <83pnvskl8b.fsf@gnu.org> <874ld3bzft.fsf@gmx.de> NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1540895947 24280 195.159.176.226 (30 Oct 2018 10:39:07 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 30 Oct 2018 10:39:07 +0000 (UTC) Cc: justin.vanwinkle@gmail.com, 33194@debbugs.gnu.org To: Michael Albinus Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Oct 30 11:39:03 2018 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gHRQN-0006Ea-2S for geb-bug-gnu-emacs@m.gmane.org; Tue, 30 Oct 2018 11:39:03 +0100 Original-Received: from localhost ([::1]:52075 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gHRST-0002EM-Cq for geb-bug-gnu-emacs@m.gmane.org; Tue, 30 Oct 2018 06:41:13 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:43992) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gHRSL-0002E4-5W for bug-gnu-emacs@gnu.org; Tue, 30 Oct 2018 06:41:05 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gHRSI-0002Rf-Ln for bug-gnu-emacs@gnu.org; Tue, 30 Oct 2018 06:41:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:49155) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gHRSI-0002RY-Hc for bug-gnu-emacs@gnu.org; Tue, 30 Oct 2018 06:41:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gHRSI-0003CC-Dd for bug-gnu-emacs@gnu.org; Tue, 30 Oct 2018 06:41:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 30 Oct 2018 10:41:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 33194 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 33194-submit@debbugs.gnu.org id=B33194.154089606112269 (code B ref 33194); Tue, 30 Oct 2018 10:41:02 +0000 Original-Received: (at 33194) by debbugs.gnu.org; 30 Oct 2018 10:41:01 +0000 Original-Received: from localhost ([127.0.0.1]:53413 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gHRSG-0003Bp-Q8 for submit@debbugs.gnu.org; Tue, 30 Oct 2018 06:41:00 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:34318) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gHRSF-0003Bd-P5 for 33194@debbugs.gnu.org; Tue, 30 Oct 2018 06:41:00 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gHRS5-0002Km-Si for 33194@debbugs.gnu.org; Tue, 30 Oct 2018 06:40:54 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:34120) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gHRS5-0002Kb-Me; Tue, 30 Oct 2018 06:40:49 -0400 Original-Received: from [176.228.60.248] (port=3802 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1gHRS5-0001tT-5b; Tue, 30 Oct 2018 06:40:49 -0400 In-reply-to: <874ld3bzft.fsf@gmx.de> (message from Michael Albinus on Tue, 30 Oct 2018 09:39:50 +0100) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.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" Xref: news.gmane.org gmane.emacs.bugs:151821 Archived-At: > From: Michael Albinus > Cc: Justin Van Winkle , 33194@debbugs.gnu.org > Date: Tue, 30 Oct 2018 09:39:50 +0100 > > One defense action which comes to mind is to manage the incoming > events. If there is a burst of `change' events in a short time, they > could be cumulated to one event, as inotify does. Implemented in > `file-notify-handle-event', this would applicable to all file > notification backends, and not only to inotify. But won't that by itself require CPU for processing?