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.devel Subject: Re: Some experience with the igc branch Date: Wed, 25 Dec 2024 15:26:24 +0200 Message-ID: <867c7n28sf.fsf@gnu.org> References: <87o713wwsi.fsf@telefonica.net> <87ldw7fwet.fsf@protonmail.com> <87a5cnfj8t.fsf@protonmail.com> <86seqe4j4f.fsf@gnu.org> <87ttaucub8.fsf@protonmail.com> <87pllicrpi.fsf@protonmail.com> <864j2u442i.fsf@gnu.org> <87ldw6as5f.fsf@protonmail.com> <86o7112rnq.fsf@gnu.org> <867c7p2nz4.fsf@gnu.org> <861pxx2lh7.fsf@gnu.org> <86ldw40xbo.fsf@gnu.org> <86a5cj2a0e.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="29688"; mail-complaints-to="usenet@ciao.gmane.io" Cc: pipcet@protonmail.com, ofv@wanadoo.es, emacs-devel@gnu.org, eller.helmut@gmail.com, acorallo@gnu.org To: Gerd =?utf-8?Q?M=C3=B6llmann?= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Dec 25 14:27:11 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 1tQRPq-0007Qu-OI for ged-emacs-devel@m.gmane-mx.org; Wed, 25 Dec 2024 14:27:10 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tQRPG-0001Rs-1a; Wed, 25 Dec 2024 08:26:34 -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 1tQRPB-0001RT-MQ for emacs-devel@gnu.org; Wed, 25 Dec 2024 08:26:30 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tQRPA-0006Qc-Ke; Wed, 25 Dec 2024 08:26:28 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=M2l/FUrP2KIQLs0R5gk4m1YDI9l+BzYqhrAg5CPbKww=; b=b1jEcougBDggBPfluNGN XByLrGetcbqcELtQzQfu1F5Gei32W75/vZCd9JFxfGUNg2n0Sog6cbbwn7O9h0cgPEuRRnVQXLfrz ZUoEzQnv7XEBywBJ6Joyz2LiPl4PGh9V1PKunQnshFqH9LJl2qRDYlp+bAr9f1hL7OH8tlmx1Lg2n Q1I1P/5e2tf5OXnBbSnDsDQdios8fyRcDWqGMs1r6yVctjTmsyefWhpJUVYAb3HGygRn/5M+mtcab jbRa1qOCfywLJPHYQusGYHFsX+dsSlJS1EJGGI44zSXHC94MgBLwIm2qcZdEooPtOfYc+D0doH9k2 vMXd2dMhHR80/w==; In-Reply-To: (message from Gerd =?utf-8?Q?M?= =?utf-8?Q?=C3=B6llmann?= on Wed, 25 Dec 2024 14:08:34 +0100) 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:327090 Archived-At: > From: Gerd Möllmann > Cc: pipcet@protonmail.com, ofv@wanadoo.es, emacs-devel@gnu.org, > eller.helmut@gmail.com, acorallo@gnu.org > Date: Wed, 25 Dec 2024 14:08:34 +0100 > > Eli Zaretskii writes: > > > So why are those unsafe? Because they access Lisp objects, or for > > some other reason? > > What do you mean with unsafe? We are accessing an object's memory. That > memory may potentially be protected by a barrier. That's what I meant by "unsafe". I'm still wrapping my head around this stuff, so apologies if I ask stupid questions. Here's another one: why accessing the same object's memory that may be protected by a barrier OK from the main (a.k.a. "Lisp") thread, when MPS could have meanwhile started GC asynchronously? IOW, how is this "normal" access to Lisp objects different from access from a signal handler?