From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Helmut Eller Newsgroups: gmane.emacs.devel Subject: Re: MPS image cache Date: Fri, 03 May 2024 16:59:05 +0200 Message-ID: <87o79n0wna.fsf@gmail.com> References: <875xvvp3fo.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="22179"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Eli Zaretskii , Emacs Devel To: Gerd =?utf-8?Q?M=C3=B6llmann?= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri May 03 16:59:54 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 1s2uOA-0005W4-Ia for ged-emacs-devel@m.gmane-mx.org; Fri, 03 May 2024 16:59:54 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s2uNU-0006bd-7j; Fri, 03 May 2024 10:59:12 -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 1s2uNS-0006bJ-B5 for emacs-devel@gnu.org; Fri, 03 May 2024 10:59:10 -0400 Original-Received: from mail-ej1-x62c.google.com ([2a00:1450:4864:20::62c]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1s2uNQ-00040l-RK; Fri, 03 May 2024 10:59:10 -0400 Original-Received: by mail-ej1-x62c.google.com with SMTP id a640c23a62f3a-a599a298990so149881166b.2; Fri, 03 May 2024 07:59:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1714748347; x=1715353147; 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=i5lyPxnUa0bFFoxbBrV1/JB4Xf00ZDgWrVuh6eJ27nE=; b=SY/4J7q3p8WsobvggfLqK+xBOlsfDS3wNQsIGU+hYe6Mzb0tfZdpNIbDDR1tXX6p7x X03hD+SeqYO0D+r9LWyOr7mv8cch7PL1x1Mo2HKlkv79KrIY7zXC5AY9rqzOLeOQupZ8 mJJhz7SoAxZkDl2DvTawu2bDfyeTy52OHtpepvY7C0ek7iFsdoNlkDbQ4xr8pthiy58R 7JXlN8D8DQbYaSbCdsn4ZOB1tqFZ28pDy5RWWt4AxFx8tFvmFoprSBmleokgoFw8BdFq ciuyezwY8eq9HD5OtB4t9L/azEcD/VaEHGXVJaj1/ygLRKbb/itSXtSH+LmEpee+OpiK j5Ew== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1714748347; x=1715353147; 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=i5lyPxnUa0bFFoxbBrV1/JB4Xf00ZDgWrVuh6eJ27nE=; b=LcsI5uD3iPjagYVGiHvKuhIjuqwlPPhb1uNgELtXVaT9fcj3qILuPGwoDoHVejrGWf ilA2G8QxNV4YpRxkJ9V5MeLxIIkQ9mDdI2u7nMiBsWCc9obSl0ITRnphh8/8cCv/QySa h2bgV6v0zn1xzCbeUUe2siEPUkPGahLy2kiu82rJwJKGbNctt0mNa5noBWfERXbi3mXL 84Inr7MzxBbL4fUN05Ug9eWQWeU9aXsFZP5RT7uBQkJXk0D+P237ZFBvQzJmGz53m8sR gHKmQyHW6P2wFZZ9Vl/sUbhhsVrlKWTI88ME24suIpcuOM0fIqbNV82xaVnjEWk5VYIF i3Dw== X-Forwarded-Encrypted: i=1; AJvYcCVOmhhFiUbro+n2B+epJRniCIipzwqSrTCGFaKt+ypiM0BIlET3zTZHeB2ZNoy/hWpLXYLFlB9KssqGcOazk7MKaEOW X-Gm-Message-State: AOJu0YwhEz7IsCVdnjBH8+yKMGOlUAx/d3cY6mYLogF6Gn2zNh4QU7a3 t/6OYyx5tzkE9Q4nuGHGQnBM+PaRiuwUNo+Cr0GO0V3x/24K/SczTe6zjg== X-Google-Smtp-Source: AGHT+IEgBT94dV76aLZl7yQd5mW+68+cS4vZ+DZqjv9OlL/KjB1uDGNowK5urPGegu+wqe20+2Il+g== X-Received: by 2002:a50:d5d8:0:b0:572:4fc3:3a28 with SMTP id g24-20020a50d5d8000000b005724fc33a28mr1867424edj.23.1714748346821; Fri, 03 May 2024 07:59:06 -0700 (PDT) Original-Received: from caladan (dial-184253.pool.broadband44.net. [212.46.184.253]) by smtp.gmail.com with ESMTPSA id s8-20020aa7d788000000b00562d908daf4sm1738448edq.84.2024.05.03.07.59.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 03 May 2024 07:59:06 -0700 (PDT) In-Reply-To: ("Gerd =?utf-8?Q?M=C3=B6llman?= =?utf-8?Q?n=22's?= message of "Fri, 03 May 2024 13:22:15 +0200") Received-SPF: pass client-ip=2a00:1450:4864:20::62c; envelope-from=eller.helmut@gmail.com; helo=mail-ej1-x62c.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:318691 Archived-At: On Fri, May 03 2024, Gerd M=C3=B6llmann wrote: > While we scan an object, MPS gives us exclusive access to it. I think we > want that for these caches, so that scanning does not interfere iwth the > client modifying the cache? Access is exclusive to the image_cache struct, but not the buckets, I think.