From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: =?utf-8?Q?Gerd_M=C3=B6llmann?= Newsgroups: gmane.emacs.devel Subject: Re: pdumper on Solaris 10 Date: Sun, 08 Dec 2024 20:15:09 +0100 Message-ID: References: <878qwuitbu.fsf@yahoo.com> <87jzcajrnz.fsf@protonmail.com> <86o71mfhox.fsf@gnu.org> <87frmyjn9j.fsf@protonmail.com> <86ldwqfcqv.fsf@gnu.org> <87a5d6jgim.fsf@protonmail.com> <86a5d6f7bn.fsf@gnu.org> <871pyijctd.fsf@protonmail.com> <8634iyf257.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="6696"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Pip Cet , luangruo@yahoo.com, ali_gnu2@emvision.com, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Dec 08 20:16:04 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 1tKMlA-0001WK-8g for ged-emacs-devel@m.gmane-mx.org; Sun, 08 Dec 2024 20:16:04 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tKMkP-0004cl-No; Sun, 08 Dec 2024 14:15:17 -0500 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 1tKMkN-0004aN-At for emacs-devel@gnu.org; Sun, 08 Dec 2024 14:15:15 -0500 Original-Received: from mail-wr1-x430.google.com ([2a00:1450:4864:20::430]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tKMkL-0001Ja-IJ; Sun, 08 Dec 2024 14:15:14 -0500 Original-Received: by mail-wr1-x430.google.com with SMTP id ffacd0b85a97d-386329da1d9so850870f8f.1; Sun, 08 Dec 2024 11:15:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1733685311; x=1734290111; darn=gnu.org; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=FpSKRpOHWVIJETNK3aefRWEm41IvgVDmi5Lfd04loy8=; b=VGvley17/avIFydmpZ0cLpdkcHOl8RgImt/uZZ9bfxoT9eSOLCOTsTszeVrK1zZHBq 2h66kS41F6NwXBp4RinguMJSGtzAorwY50dqbVJupqVj9ES8i3pwKZ0Roo5cIsRwkfAw niYwkAQwg9/BBqoca8FfmIwC4j0XeecP70fGYUO3Uapy9Gd3J4TsYZ7YXWzrM70V91wt dXPyUKitNDawgxrfQ3Jl7PU6hmEBqD13iSreCXZu75RJYG/2HV/2RIGSVbpWPpGyHAQ8 ZmRwO9zR4x/cpuVwOFqM0No5MxlcqjMUc4FM8h+Sr504gNDHggeYNk4TTaCIh3st08yb xIeA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1733685311; x=1734290111; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=FpSKRpOHWVIJETNK3aefRWEm41IvgVDmi5Lfd04loy8=; b=TPVPDC2WF5jJ1QEMJ04sngO060Rr1FvjxMrKl3nKzz631S3l1tTriFshfmwWmAKzGK 5u0X1+0M5VB7TD0s1v/aGK8Syhg9Logr1/PKE817k6mVLCRR+648OrfVu0HyEHcYkgy6 bgHg9kjpmRhRO5Qv//EPKP6ITIr/zC8JCVDgzWvNBiLD6brOVXj32LE24VD8shIVHq0/ 55wOYw2tWxcxC4OIcKygmZPob8QIsAQBtp/HU/oPmwpXRX1BKb0OkstJx2DY5cxwzllf aP46tEu0/zpW6D/DR9d6vGHNlFXA1v0Y3l83hUVWomkyjxkzLQEgX0JmtJWZJfGyC52o rYyg== X-Forwarded-Encrypted: i=1; AJvYcCXG5hmQyE4QfQ304I4IYdNwDRLxVN5G+JZHyXAib8gIjRShygoVmaluwmNGxgj5XS0ZujDdbHCNh0mPsg==@gnu.org X-Gm-Message-State: AOJu0YzkrSAv7DJWaZmJuhOj9JTvXR8IT+qGeEngpI19W5lDhKBt6xlG 2lR9atIrz760BldoUfjYDDal9Znfj4E42nl5mffG+wTYStvFfVZ4FKIV7Q== X-Gm-Gg: ASbGncsZA/BC4k6WwYC8ojMWStqeqHrF0Ilm998OV1MaVg0eM8+b4gAuL5pRHBUgSB5 D7jRkq0k2AsPENl6p5T3x8YfLAMDNR1ALKoIZD4nPojyPAXYHJ1zJMhTZ0ebQ54V9ntJelAN7Ja RHWGNIKr29FwybKvGiQNVjWCmh+pKm1u0XVgF8fMBqXw1Lxl2jFx12KFH4znfq90R6SE5RrrtgZ RC2NDcUq8R6yS+zyRVIAYOBUm1OKQZRDlIUgIZfdNb6uz3e8YMJNIMCl5c0kHs6GIyi6nujzH7I Q4aXS2pHBfmFa5EqVagnW73nm6DH9zThbV6mxX0Mu98C9G5FLjLjGtLP+ro= X-Google-Smtp-Source: AGHT+IHzdmeUJDvH0jo2MpcRtTrUBNiJhdTYrg2JsgON6RXLFvEwk6/REmR8Oj6talwUFjIX42hpPA== X-Received: by 2002:a05:6000:1f85:b0:385:f909:eb28 with SMTP id ffacd0b85a97d-3862b3d498amr7708678f8f.45.1733685311125; Sun, 08 Dec 2024 11:15:11 -0800 (PST) Original-Received: from pro2 (p200300e0b7255b00a0b66b44141e3eab.dip0.t-ipconnect.de. [2003:e0:b725:5b00:a0b6:6b44:141e:3eab]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-3862e975194sm7436436f8f.74.2024.12.08.11.15.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 08 Dec 2024 11:15:10 -0800 (PST) In-Reply-To: <8634iyf257.fsf@gnu.org> (Eli Zaretskii's message of "Sun, 08 Dec 2024 20:41:40 +0200") Received-SPF: pass client-ip=2a00:1450:4864:20::430; envelope-from=gerd.moellmann@gmail.com; helo=mail-wr1-x430.google.com X-Spam_score_int: -10 X-Spam_score: -1.1 X-Spam_bar: - X-Spam_report: (-1.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, FREEMAIL_REPLY=1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no 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-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:326208 Archived-At: Eli Zaretskii writes: >> Date: Sun, 08 Dec 2024 17:37:50 +0000 >> From: Pip Cet >> Cc: luangruo@yahoo.com, ali_gnu2@emvision.com, emacs-devel@gnu.org >> >> "Eli Zaretskii" writes: >> >> >> So let's remove it, and switch WIDE_EMACS_INT builds to USE_LSB? >> > >> > That'd be a waste of effort. >> >> It'd be a good investment of effort today, in exchange for making the GC >> code significantly easier to understand and maintain in the future. It >> would certainly not be without its benefits, so calling it a "waste of >> effort" is unfair. > > I disagree. We've lived with this GC code for a long time, and I > don't see any complications due to !USE_LSB. And if we are going to > switch to igc at some point, investment in GC is even less sensible. > > I don't see what's unfair in making my position clear. I think Pip meant igc. That would be a lot simpler without the 32-bit stuff, wide ints or not. I said already what I think about that before. > >> >> > In fact, one of my strongest reservations about the igc branch is that >> >> > it will most probably force me to lose WIDE_EMACS_INT. >> >> >> >> I believe that problem is exclusively due to the fact that >> >> WIDE_EMACS_INT implies USE_LSB=0. Dropping !USE_LSB should allow us to >> >> use WIDE_EMACS_INT normally in MPS builds, I think. >> > >> > No, there's also a built-in assumption in MPS about the size of a >> > word. >> >> That's very vague. If there is an assumption that EMACS_INT == >> mps_word_t, it would certainly not be built into MPS, which doesn't know >> about EMACS_INT at all. > > Not EMACS_INT, Lisp_Object. At least that's what Gerd explained to me > back when I asked about WIDE_EMACS_INT in the MPS build. Maybe he can > chime in and clarify this. (Not sure I understand the context in which you are discussing.) As far as igc goes, a Lisp_Object consisting of 2 mps_word_t poses a problem because we scan one mps_word_t at a time. Depending on where the tag bits are, we need the other mps_word_t belonging to a Lisp_Object to be able to determine its type (Lisp_Int0/1Lisp_Symbol, ...). IIRC this is currently the case, and it's a major PITA.