From: Fujii Hironori <fujii.hironori@gmail.com>
To: "61258@debbugs.gnu.org" <61258@debbugs.gnu.org>
Cc: Eli Zaretskii <eliz@gnu.org>, "J. Scott Berg" <jsberg-bnl@outlook.com>
Subject: bug#61258: 29.0.60; pgtk build from git, WSLg, slow, heavy cpu use
Date: Thu, 3 Aug 2023 10:00:33 +0900 [thread overview]
Message-ID: <CALus1P=LyKUNr6aSSHrwYcjDydiLE_cvLVnjR8085QFHpLO=Mw@mail.gmail.com> (raw)
In-Reply-To: <PH8PR14MB60165F4D84FEE72A81A47E969A0BA@PH8PR14MB6016.namprd14.prod.outlook.com>
[-- Attachment #1: Type: text/plain, Size: 875 bytes --]
I don't understand the problem, haven't looked into it.
But, I'd like to share with you two workarounds I found out.
Workaround #2: Setting a env var EMACS_IGNORE_TIMERFD=1
Workaround #3: Applying the following patch
diff --git a/src/atimer.c b/src/atimer.c
index d07cdb82b7a..e6b0af5c01a 100644
--- a/src/atimer.c
+++ b/src/atimer.c
@@ -317,7 +317,7 @@ set_alarm (void)
because the timerfd notifications aren't delivered while
Emacs is busy, which prevents things like the hourglass
pointer from being displayed reliably (bug#19776). */
-# ifdef CYGWIN
+# if 1 // def CYGWIN
if (exit)
return;
# endif
It seems to be related to the following bugs:
#34618 - 26.1.92; timerfd interface causes slowdown on Cygwin
https://debbugs.gnu.org/cgi/bugreport.cgi?bug=34618
#51734 - 29.0.50; got slow
https://debbugs.gnu.org/cgi/bugreport.cgi?bug=51734
[-- Attachment #2: Type: text/html, Size: 1153 bytes --]
prev parent reply other threads:[~2023-08-03 1:00 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-02-03 18:47 bug#61258: 29.0.60; pgtk build from git, WSLg, slow, heavy cpu use J. Scott Berg
2023-02-04 0:48 ` Ruijie Yu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-02-06 11:51 ` J. Scott Berg
2023-02-04 8:45 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-08-01 22:01 ` Fujii Hironori
2023-08-02 0:17 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-08-02 11:49 ` Eli Zaretskii
2023-08-02 13:00 ` J. Scott Berg
2023-08-03 1:00 ` Fujii Hironori [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CALus1P=LyKUNr6aSSHrwYcjDydiLE_cvLVnjR8085QFHpLO=Mw@mail.gmail.com' \
--to=fujii.hironori@gmail.com \
--cc=61258@debbugs.gnu.org \
--cc=eliz@gnu.org \
--cc=jsberg-bnl@outlook.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.