From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Pip Cet Newsgroups: gmane.emacs.devel Subject: Re: MPS: User GC customizations Date: Thu, 04 Jul 2024 15:52:35 +0000 Message-ID: References: <87v81pbgzi.fsf@localhost> <87y16khvhy.fsf@localhost> <87frspqwhr.fsf@localhost> <87tth5pdqc.fsf@localhost> <86sewp8djd.fsf@gnu.org> <86frsp88fa.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="35174"; mail-complaints-to="usenet@ciao.gmane.io" Cc: =?utf-8?Q?Gerd_M=C3=B6llmann?= , yantar92@posteo.net, emacs-devel@gnu.org, eller.helmut@gmail.com To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Jul 04 17:58:51 2024 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1sPOrC-0008pU-3r for ged-emacs-devel@m.gmane-mx.org; Thu, 04 Jul 2024 17:58:50 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sPOoz-0001Wd-Av; Thu, 04 Jul 2024 11:56:33 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sPOlK-0000Ai-DF for emacs-devel@gnu.org; Thu, 04 Jul 2024 11:52:46 -0400 Original-Received: from mail-4316.protonmail.ch ([185.70.43.16]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sPOlF-0001x1-Tf; Thu, 04 Jul 2024 11:52:45 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1720108359; x=1720367559; bh=Oj4B4rEbXBEELcvH53jFb1x3gf3xdd1v/aVCDXvpn0A=; h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References: Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID:BIMI-Selector; b=d5u4DPT5rzUVM+jbxnYJ+v6P9kDDQ/aUIUJs4oknebl1GIRIDwnCfEv1lGZP0CeZ9 A6i8xlyz/hu4jDKf/GYW1boEA7uJP40GlqqqOO+63tzlVN9i6i2RP6bItCasL3LNnJ REDzbszeS7CbDWWlvt+CLOnO59syRl7Agi/pHughdPTMukwOZ1cIdzZzfRRrjYsPdt 0iy8OBtOPjmxCWKWRwVjn2AfTH+/2m31Pp1om6m1xY47SzRUa5nBL/H/0rDQmPBYqZ PlCt12CxBQPsnBTjwhfBYz5ehtQLdLKyYANk80dzTGp+nMrHV6SBK93gKPha2uEFP2 O1L5Lj2tzINsA== In-Reply-To: <86frsp88fa.fsf@gnu.org> Feedback-ID: 112775352:user:proton X-Pm-Message-ID: 07e7613434aa403783a29db58ce3c070ae9daee1 Received-SPF: pass client-ip=185.70.43.16; envelope-from=pipcet@protonmail.com; helo=mail-4316.protonmail.ch X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Thu, 04 Jul 2024 11:56:27 -0400 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:321334 Archived-At: On Thursday, July 4th, 2024 at 15:48, Eli Zaretskii wrote: > > From: Gerd M=C3=B6llmann gerd.moellmann@gmail.com >=20 > > Cc: yantar92@posteo.net, pipcet@protonmail.com, emacs-devel@gnu.org, > > eller.helmut@gmail.com > > Date: Thu, 04 Jul 2024 16:30:06 +0200 > >=20 > > Eli Zaretskii eliz@gnu.org writes: > >=20 > > > > What this variable does is give MPS notice that the client is curre= ntly > > > > idle and it might be a good time to do some work. > > >=20 > > > Is that really what this variable does? My reading of the > > > documentation is that it tells MPS how soon to stop GC which it > > > started when Emacs was idle. IOW, it's not about triggering GC, > > > it's about ending it. And the reason, AFAIU, is to avoid making > > > Emacs responses slow because MPS started GC when it detected that > > > Emacs is idle. > >=20 > > I'm taking my view from this;: >=20 >=20 > I'm not sure what you are saying. You've cited exactly the same text > as I did, but didn't answer ny real question: does this variable work > as you said above ("give MPS notice that the client is currently > idle") or like I interpret it: tell MPS how much time it's okay to > spend in GC which it started when Emacs was idle? I'm really confused. Can you explain what you think the difference is? The = variable's value is a number. If the variable is zero, we don't tell MPS we= 're idle when we're idle. If it's nonzero, we tell it we're idle (when we a= re), and how much time it's okay to spend in GC. Pip