From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Po Lu Newsgroups: gmane.emacs.devel Subject: Re: Loading tramp for dump goes into infinite regress Date: Tue, 09 Aug 2022 21:42:49 +0800 Message-ID: <87bkstzg6e.fsf@yahoo.com> References: <8735erhrlg.fsf@gmx.de> <83wnc2g0n8.fsf@gnu.org> <83sfmqfxcb.fsf@gnu.org> <83a68yfp6j.fsf@gnu.org> <83r129e1op.fsf@gnu.org> <87fsi5zj9n.fsf@yahoo.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="37555"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.91 (gnu/linux) Cc: Eli Zaretskii , Stefan Monnier , emacs-devel To: Lynn Winebarger Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Aug 09 15:44:34 2022 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 1oLPX7-0009b8-Sq for ged-emacs-devel@m.gmane-mx.org; Tue, 09 Aug 2022 15:44:34 +0200 Original-Received: from localhost ([::1]:44370 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oLPX6-0000Ii-GC for ged-emacs-devel@m.gmane-mx.org; Tue, 09 Aug 2022 09:44:32 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:34852) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oLPVj-0007eW-Gy for emacs-devel@gnu.org; Tue, 09 Aug 2022 09:43:08 -0400 Original-Received: from sonic303-21.consmr.mail.ne1.yahoo.com ([66.163.188.147]:36326) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oLPVh-0002sz-Vq for emacs-devel@gnu.org; Tue, 09 Aug 2022 09:43:07 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1660052582; bh=V6UanLdXX5WCKYecaw8HPEPeArmiwU4qORSDgpRfeTs=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From:Subject:Reply-To; b=Jzkx+/K7YGGanMAUVMdLc+qpz6ZjS8zS7rL03U0gr8+QC5VB9MA/pGj2m9q4v7UgYtSMH2axlQ+vP8TB3BgLL4uDCI4oZYX3+BL2F0NeZasubj9s2/6t9d0Ii8KCjPV4xC7F3ev5R9pQruRXwzXQUi/84qM8fqxfu7JpaPZZ6l4AxnpXxZn6N863zxq2ENIFffvqzYcCkrSyl4JtHb+M8aqwhC39UtC3HtiFL08tDDyJJvpRL5xAHccllUbPmX2ScUn4AQx61mmSZuGmvriP+xyxjbLgDdYxceh3Tox81xWdmLdmiHeDOOwV4JVzJtvcsjBsRGAM6g2l7ZStcOm1CQ== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1660052583; bh=woFEVJukD1C2/b0Rq9aOXHkl75YsU8bF5bIBPDv22gB=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=TMdS9TacjfpsbeKE3P2k25uZuIpeQwxwuWlTOWT0cRkBr9FtJ75+TfhBuE5aOnBLsQjJJvSwIaGnu1qD2D7MmsznWM48+cJGNu+EsahPz7LraX8+YQYuRLHd7guXCCZxCNfEWbclvvFtH64Kmj0Cg6m4UXVNFIaY2HVrDTfrqSLeoEUFU08MXHZQpzRmLjU+Es4nWbMMKQJMxGNZUDRWNfZGnG3grZWo9Yje1eBRaIoXezUmBEl9C6UPWuFJEDXMfveqcvav672pBuEG8KkJm2NzgSNK1LVpwmdRKipKySwRK6Lm4OQO5QMLhuPU/SiIfv8yT8D/oe9XS0uTz6ZEhg== X-YMail-OSG: 7q9dEKIVM1lqllBiF8K3ubCscyzFgJt.tNm7NS_6BFCE1Z_1drNxGDPEwRjd9Du T6mOzM1.RSRgv0PgJEc0Asg.B4rtnHUJWFoDqhrmN_MgdY7HnaTrlQyUpydR8QttDRgMoFu7eQUe bHP2HoALqr4FvC0ULAHAIZgossOcdLh06xSxavvEmCE_yPxrycmMqcdmYFIeVMyBNrKaY5fFnDpx KZySxXtfiYclQsFDMs7wH4bU8yqqe0RukZqthjVGaMTt7auJad4Tc7sOfwPAM1YCFGIepQntdJIh bnQu7jmxW4IR2zwCDOBpMbvQDzk06WO_23YzSh8dZfpd.xuzMhgpzmxKWLQTQOGZ1gGMb2_itSOE V2OqZU6s8h47vkom8XDx12d64l7IO7kZ5iC.UxTKsiw0uUFTaQpBKyPpL5SlmD_jQfme5N22Bl.Y 4yi8Nmd_RuANTN0ssaKNidT9l4DDY415932sA133PZWO2Mgv6ymLSuVv2wtsYfF.G_yq5JU6vw.L 4rz1iKv7Oz_8G6tKGwW4TUcPF70eGYnd.JKstgU8QFEk.Gvrxr3Js7r00OkYeFT6lAtP8i4J0S5a a8EK2uThK.1FyvkCblmUffMEGFFEEaSQTWK5kobnK9tgtyMgvrp9qdt4k3d8i0U3TBvVioFovRXf 4GfKkA7973Df93Eh5QfHlWBoJAdI3T9NqFpU9WcsHLe23r7B_N5PZuNd_RRKAiV4WO1euWZOqxZC 9VlyTznME1TdUsjr61K34gST_qoiOpq3_DUde5WgzsdfJDmiLjdO9T31OfwDvrJQaCqypbJJ.CZm 8gB55eQXnzY0tiJ.zBcRKvsDnDkF7izqgvG833Xy48 X-Sonic-MF: Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic303.consmr.mail.ne1.yahoo.com with HTTP; Tue, 9 Aug 2022 13:43:02 +0000 Original-Received: by hermes--canary-production-sg3-6f58cd9b5-slt79 (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 96c681fc16e49c8820ff1793e851fe42; Tue, 09 Aug 2022 13:42:58 +0000 (UTC) In-Reply-To: (Lynn Winebarger's message of "Tue, 9 Aug 2022 09:22:46 -0400") X-Mailer: WebService/1.1.20491 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo Received-SPF: pass client-ip=66.163.188.147; envelope-from=luangruo@yahoo.com; helo=sonic303-21.consmr.mail.ne1.yahoo.com 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, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action 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" Xref: news.gmane.io gmane.emacs.devel:293307 Archived-At: Lynn Winebarger writes: > I'm not sure you can conclude that the benefit would be minor when the > non-collected space is a 184MB dump file instead of a fixed pure space > that is 2 or 2.4MB as it is in the standard pdump. AFAIK we don't officially support any non-standard dump. > At least some vestiges of the write barrier appear to be in place > during dump mode. I've had to make a lot of minor corrections of > "defconst" keymaps to defvar, for example due to pure_write_error > getting called. Whether that barrier is uniformly enforced or not is > one of the reasons I suspect this quick hack would not be sufficient. I don't think it's very well enforced. For example, any C code that calls XSETCAR without checking whether or not the object (i.e. the reuse argument to Fmatch_end) is writable will result in the invariant being broken.