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: MPS: User GC customizations Date: Thu, 04 Jul 2024 19:02:09 +0200 Message-ID: References: <87v81pbgzi.fsf@localhost> <87y16khvhy.fsf@localhost> <87frspqwhr.fsf@localhost> <87tth5pdqc.fsf@localhost> <87le2h47kj.fsf@localhost> <87msmx9kov.fsf@localhost> 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="27826"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Pip Cet , Eli Zaretskii , emacs-devel@gnu.org, eller.helmut@gmail.com To: Ihor Radchenko Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Jul 04 19:02:50 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 1sPPr8-0006zQ-3M for ged-emacs-devel@m.gmane-mx.org; Thu, 04 Jul 2024 19:02:50 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sPPqc-0007Rv-Qf; Thu, 04 Jul 2024 13:02:18 -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 1sPPqa-0007R2-Tk for emacs-devel@gnu.org; Thu, 04 Jul 2024 13:02:16 -0400 Original-Received: from mail-ej1-x631.google.com ([2a00:1450:4864:20::631]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sPPqY-0004HG-Cy; Thu, 04 Jul 2024 13:02:16 -0400 Original-Received: by mail-ej1-x631.google.com with SMTP id a640c23a62f3a-a7527afa23cso102158066b.2; Thu, 04 Jul 2024 10:02:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1720112531; x=1720717331; 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=pVw4svjTUISzyfhetfdnxZZi8dBCQRv6VBlI+GIet6g=; b=PGJVpy6laSINNdti6/0tTlDIi76MkCTgMa79dQRoAkF7BXMrDmOS8G93NfktwgBPsU Ob0QfG3KSEoYtmrdGnPLe8hWDdwJlno3rBP2xoJMz5g/frelIkV8hBkalM01a+B70bg8 nDjdAixMyNQBZ535wt6T4ayg2GknzUXgEm6GcMWlZeu6ULRq02xTaJbTzthTEBTRODbV R6JUhZCf3p/SKMZKhc0JwLKME2xV60DpH5QY1qqtpey09N8lgT1BZHoNDxHQV6mOjUlB knBk3XUxKyC4Rc+kjI5ZmGhLipVpPvrTZThWmTSZJv2fAbyP7dw/87BRkQEEo9EtovPM T1Zg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1720112531; x=1720717331; 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=pVw4svjTUISzyfhetfdnxZZi8dBCQRv6VBlI+GIet6g=; b=pHjm8cS3gKr2EmXrUptwpBiwZRU7I8Y1GNYNhTbgLQUVp+C1PsrBdl6hGzCt1KnTIe kp7+9h2Xwp97hHyudh5FIyweyLewNs64h82EZor9eTXrB/vquk2oMG61AEFKvTVdslNg IdcHiSsoVO9CJ/8m/X0ucl5U4ZRCbFRfY+MrJndDi1fuT9WDJJbkYdEq9qM5T4erQfGF 5wAZsfDUAJwSpT9OzOvrDM369CZwZ5U/vGi2pQi8n4NhDCaBXf0C51ivJewms0r9ec6a BUo5BRAKuznOjB/b/zb3iyvw9EX2W4N4x4XF05RBWIDAi95+YaiizmvIhSvU9nCfvGNn gOEQ== X-Forwarded-Encrypted: i=1; AJvYcCVo7zwVuqybz2b1Bi840O7p36+vPdl0tm3XaRxMYtbtEYln1UjX3jImNvRWzvCSXG/bfgh57/MNbHIkncjVPWmDvPO1oWdwlh/Z+izCF7T2on0= X-Gm-Message-State: AOJu0Yy1m/2h9h4NWEXOF9eXvt8OL5dq3gr/Gnt6cCsJoilsoBu/9pmn KyimONYi406cC+u6qbe3YPe5iR6shWZgI5BORdlofXCy9BPp+bOX X-Google-Smtp-Source: AGHT+IGwJhfl/bTZA1QLhEHrQYga3+IIlYVKjYXlUf/EFLVj9/9cWO3J876PpxBY0kmj8J8fDUucVA== X-Received: by 2002:a17:906:30d0:b0:a6f:ab9c:7779 with SMTP id a640c23a62f3a-a77ba4552a6mr172158266b.9.1720112530917; Thu, 04 Jul 2024 10:02:10 -0700 (PDT) Original-Received: from pro2.fritz.box (pd9e36fa8.dip0.t-ipconnect.de. [217.227.111.168]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a76841c4ffcsm209685666b.41.2024.07.04.10.02.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 04 Jul 2024 10:02:10 -0700 (PDT) In-Reply-To: <87msmx9kov.fsf@localhost> (Ihor Radchenko's message of "Thu, 04 Jul 2024 16:38:24 +0000") Received-SPF: pass client-ip=2a00:1450:4864:20::631; envelope-from=gerd.moellmann@gmail.com; helo=mail-ej1-x631.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:321344 Archived-At: Ihor Radchenko writes: > Gerd M=C3=B6llmann writes: > >> Pip Cet writes: >> >>> I think we can just set flags for "called MPS" and "in a scan >>> function" and look at them in the SIGPROF handler to distinguish the >>> four cases? >> >> Not sure. What if MPS calls these in its own thread? I guess that >> wouldn't be so interesting for Ihor. > > What about `alloc_impl'? It should only be called by Emacs threads. Yes, maybe.