From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#54698: non-recursive GC marking [PATCH] Date: Fri, 08 Apr 2022 14:15:15 +0300 Message-ID: <83wnfzaksc.fsf@gnu.org> References: <5A577100-75CE-4C9E-A7DA-02B917662AF5@acm.org> <8735itglid.fsf@gnus.org> <8527E407-8190-4574-B8D5-BE68220AE663@acm.org> <871qyc5o0y.fsf@yahoo.com> <5BBEDBDA-4C85-4237-9EF7-5635A4950365@acm.org> <83fsmreox8.fsf@gnu.org> <83a6czekro.fsf@gnu.org> <83r16acwar.fsf@gnu.org> <87tub6zabp.fsf@yahoo.com> <87pmlsw2e9.fsf@yahoo.com> <83bkxcaylu.fsf@gnu.org> <87lewguing.fsf@yahoo.com> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="37297"; mail-complaints-to="usenet@ciao.gmane.io" Cc: mattiase@acm.org, larsi@gnus.org, 54698@debbugs.gnu.org, p.stephani2@gmail.com, rms@gnu.org To: Po Lu Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Apr 08 13:17:06 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1ncmbx-0009Vb-P6 for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 08 Apr 2022 13:17:05 +0200 Original-Received: from localhost ([::1]:46778 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ncmbw-0008AF-Fi for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 08 Apr 2022 07:17:04 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:58046) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ncmaz-0008A0-PD for bug-gnu-emacs@gnu.org; Fri, 08 Apr 2022 07:16:07 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:40138) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ncmaw-0003Iv-IU for bug-gnu-emacs@gnu.org; Fri, 08 Apr 2022 07:16:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ncmaw-0008UC-AN for bug-gnu-emacs@gnu.org; Fri, 08 Apr 2022 07:16: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: Fri, 08 Apr 2022 11:16:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 54698 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 54698-submit@debbugs.gnu.org id=B54698.164941652932579 (code B ref 54698); Fri, 08 Apr 2022 11:16:02 +0000 Original-Received: (at 54698) by debbugs.gnu.org; 8 Apr 2022 11:15:29 +0000 Original-Received: from localhost ([127.0.0.1]:34035 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ncmaK-0008TL-Q9 for submit@debbugs.gnu.org; Fri, 08 Apr 2022 07:15:29 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:36386) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ncmaI-0008T7-Kr for 54698@debbugs.gnu.org; Fri, 08 Apr 2022 07:15:23 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:50558) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ncmaD-0003Fk-3Z; Fri, 08 Apr 2022 07:15:17 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=63PGYYM6WUxSwDlnpAjkm/bm9I6+ixxllyloPuxmDu0=; b=cshbDnxdX2HK uHiUyUT3EQEqn8Jc/qjljh09c9LjjkrLn5xY5Wtz0hJAST8EhjdzRBKwF8238LktLJLR8/gzB65AQ bUTvDbSUUPe4+IuS/q8QZYr+emQbAb5shsKMzL7xjPKHFc2ie8CnB4ZyU2YTgyJShfy2E/QeVUPDC TV+qIcTzhIYkdCyaY8VgXR2UubzkJXz+NJlRBU/w9VLq+mNwxXhDL3Fp7avKNSPMys0nGEcJ/RMdy iiUyo2quXBfU/FHEMUkrOCuUFqgV7z9zp/18Ui85vk3wvnl+kBCz7z8UNFzKN66/9sPIrHLQ6IjVO swqzIsMcnDo8jQ0PdrfLcA==; Original-Received: from [87.69.77.57] (port=2857 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ncmZz-000844-Mv; Fri, 08 Apr 2022 07:15:08 -0400 In-Reply-To: <87lewguing.fsf@yahoo.com> (message from Po Lu on Fri, 08 Apr 2022 15:41:07 +0800) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:229559 Archived-At: > From: Po Lu > Cc: rms@gnu.org, p.stephani2@gmail.com, mattiase@acm.org, larsi@gnus.org, > 54698@debbugs.gnu.org > Date: Fri, 08 Apr 2022 15:41:07 +0800 > > Eli Zaretskii writes: > > > AFAIK, it can be set by editing a file. Details are here: > > > > https://www.digitalocean.com/community/questions/how-can-i-disable-overcommit_memory > > https://serverfault.com/questions/485798/cent-os-how-do-i-turn-off-or-reduce-memory-overcommitment-and-is-it-safe-to-do > > Yes, but typically you have to be root to write to that file. I'm sure RMS is root, or can become one, on his system. If you are talking about Emacs doing that on its own, then I don''t think this is a good idea regardless of privileges, since it isn't an application's business to change a system-wide setting that affects the entire OS. > How about adding this in the Memory Full node in the Emacs manual? I already said I thought we should do that.