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: scratch/igc fe90d556834: Make glyphs ambiguous roots Date: Mon, 29 Jul 2024 15:12:19 +0200 Message-ID: References: <172218853212.17772.9043342656088870281@vcs2.savannah.gnu.org> <20240728174212.BDB66C41F13@vcs2.savannah.gnu.org> <87h6c8lnva.fsf@gmail.com> <87le1kk0zk.fsf@gmail.com> 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="22344"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: emacs-devel@gnu.org To: Helmut Eller Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Jul 29 15:13:10 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 1sYQBZ-0005Y9-JC for ged-emacs-devel@m.gmane-mx.org; Mon, 29 Jul 2024 15:13:09 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sYQAt-0006n5-81; Mon, 29 Jul 2024 09:12:27 -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 1sYQAs-0006mq-6z for emacs-devel@gnu.org; Mon, 29 Jul 2024 09:12:26 -0400 Original-Received: from mail-lj1-x231.google.com ([2a00:1450:4864:20::231]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sYQAq-0000ZP-Dx for emacs-devel@gnu.org; Mon, 29 Jul 2024 09:12:25 -0400 Original-Received: by mail-lj1-x231.google.com with SMTP id 38308e7fff4ca-2eeb1ba040aso59528891fa.1 for ; Mon, 29 Jul 2024 06:12:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1722258742; x=1722863542; darn=gnu.org; h=content-transfer-encoding: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=zwI1WpklGNPruc18YS8hQCnIIaq5ntyxdeXJ64vmOKk=; b=MPK7qk3ghcNWP/qIE9Bxkcn1WCRsizjmdAgigTVsXqK5d2IiinlGbaKkcSpObh8l2G rCVrVEfDieqnteOz7+fuDVUk0AIW97Ggkc8DrEjyQ3YhhJ5A2OqE7D1fr7LKmAsBrSI2 3Mli4LIAixY84AfBBJ3/61Wp8oG8BY6k4qIi/c2cmn8ySIBEY3hsQme7+gpfPQsG8OAf m2x/6/4s+5QF9jCMEO2DtNMc/PCGo/jJ0AJNiA15RjyI8IaxKV33GtTr7F8/6mTtkO48 CqBFs+MHU4kKU/totEfZsxi/xAzJynPThnv4kKHOSXKzBQavY1BDgtFe+5bsR9qJz4+q u8pw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1722258742; x=1722863542; h=content-transfer-encoding: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=zwI1WpklGNPruc18YS8hQCnIIaq5ntyxdeXJ64vmOKk=; b=gnGT94eGL/XjJu0f+h1eDMYHm5Ipgdr33qElNIo9jN3UGlW+4AymHFI4Usw2rkeUhE NYMQM8DrVuA3smQqZqGCsj88dnp23p6U4AWQo0jSw8B0H3TlL9902Gkdr4NmGTxqalsL l3WC3iliQI/L8xiRLb08mTsn/zZt3LX3OzXzeIzQmOEsdIZ/14wrOM6ApcyWCJFH2XlZ K/wA4SqeHLUdhLcgOgwQkQPCE0mQI+3FJPkvLOX6RcxGUoUqaNJRgbDJKeu1cbwdxoiI 71kAfRp/L8qFsbKuV7BysCECEW/9bN9DhQNnyBEy7DGPxhO5VvnRmMkTvrzrQbc1S3Lc gC+w== X-Gm-Message-State: AOJu0YwkJKuXLYL8Y6mQWwCkanSavmnTwmyeYYFsMtyBi4VirQeUrqqe +XbNl2CN11U9RjDQNmOvWqSNHy7JNrzS4kwVCJjTFLik/b97BrEj0Z4IVw== X-Google-Smtp-Source: AGHT+IH5/cnmoYjRN8AwgGhFgR1uvq6h8Pxs02G7DF5spGRkCayV37tk1PnRFqHOSCjBqE1RAnG9Dg== X-Received: by 2002:a2e:a167:0:b0:2ef:2490:46fb with SMTP id 38308e7fff4ca-2f12ee5ab11mr48229521fa.37.1722258741365; Mon, 29 Jul 2024 06:12:21 -0700 (PDT) Original-Received: from pro2.fritz.box (p4fe3a35e.dip0.t-ipconnect.de. [79.227.163.94]) by smtp.gmail.com with ESMTPSA id 4fb4d7f45d1cf-5ac65783561sm5805961a12.92.2024.07.29.06.12.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 29 Jul 2024 06:12:20 -0700 (PDT) In-Reply-To: ("Gerd =?utf-8?Q?M=C3=B6llman?= =?utf-8?Q?n=22's?= message of "Mon, 29 Jul 2024 12:19:08 +0200") Received-SPF: pass client-ip=2a00:1450:4864:20::231; envelope-from=gerd.moellmann@gmail.com; helo=mail-lj1-x231.google.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 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-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:322193 Archived-At: Gerd M=C3=B6llmann writes: >> The doc >> https://memory-pool-system.readthedocs.io/en/latest/topic/format.html#ca= utions >> says: >> >> 1. The MPS guarantees that format methods have exclusive access to the >> object for the duration of the call. This guarantee may entail >> suspending arbitrary threads. The methods that manipulate the object >> must not perform any sort of inter-thread locking or communication. >> ... >> >> 6. Subject to the above constraints, format methods can freely access: >> a. memory inside the object or block that they have been asked to >> look at; >> b. MPS-managed memory in pools that do not protect their contents; >> c. memory not managed by the MPS. >> >> While the doc doesn't guarantee that all other (registered) threads are >> suspended, it's hard to imagine what else MPS could do to stop other >> threads from messing up the object. (MPS must remove hardware barriers, >> so that's not an option.) > > Good point, indeed. > > I've reverted that change. Thanks for checking! By the same argument, I think we could simplify face_cache and image_cache which both use IGC_OBJ_PTR_VEC at the moment.=20 IGC_OBJ_PTR_VEC could then go completely. WDYT?