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: profiler Date: Fri, 21 Jun 2024 13:39:58 +0200 Message-ID: References: <87v823xvq1.fsf@localhost> <86plsalgot.fsf@gnu.org> <86iky2lfgq.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="9227"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Pip Cet , yantar92@posteo.net, emacs-devel@gnu.org, eller.helmut@gmail.com To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Jun 21 13:40:42 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 1sKcdG-0002C6-K2 for ged-emacs-devel@m.gmane-mx.org; Fri, 21 Jun 2024 13:40:42 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sKcco-0004hF-Rb; Fri, 21 Jun 2024 07:40:16 -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 1sKcch-0004gT-7y for emacs-devel@gnu.org; Fri, 21 Jun 2024 07:40:08 -0400 Original-Received: from mail-ej1-x633.google.com ([2a00:1450:4864:20::633]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sKccf-0006tz-6F; Fri, 21 Jun 2024 07:40:06 -0400 Original-Received: by mail-ej1-x633.google.com with SMTP id a640c23a62f3a-a62ef52e837so221292366b.3; Fri, 21 Jun 2024 04:40:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1718970000; x=1719574800; 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=F0X/5QuyKrDUHhyr/ft72P1BAD4GVUkgLJWeZ0LXFAI=; b=Op2hW9yLrlp3QqonUjf2f3oZiNhm6S8DcRxjXBjIQ/dOswGFoiOwNXmirGjo/rm8TK o7mScX+sqiHm08qUijBhi0//0RfUn+KOEOzBIz/VLqe41AMaQ5Efnq07l/lirOZxsdy/ ZXW1WGAZ4ug6AMmjdohInz9bnGnjuieXGqdZIdG5rRrvGOY+PU1uAf0ihC1PYjaU7KLb JY3QxTVv/w6zvWs4ZKwC7UFFqFRvDCNds2aqJ8L5xjBRGQui1g2OjI30u3leEE9n2oDX noedc/WH8SCEvGmR/ok7grGAtajrkT4mk86fJzYmUoTR/pFO9WNq7OEDRZPyJISWKqhz ol2A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718970000; x=1719574800; 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=F0X/5QuyKrDUHhyr/ft72P1BAD4GVUkgLJWeZ0LXFAI=; b=c06JPyyte4nSguScIzhGYEU0/Wxn7ZjpST08GM+RdtVcdTR37k+y+uYmPDuzsOAf3/ N6fFWVmq/Z0V5f6EiE2Cq7neummP3t+OQWT+mUiLEyJ7GktIoNHTfeHqvIkjrl8z36xH Q4SscJrT9S45gqiaFGhdDXadAZfKLcHB1mdujZRhvZo2TMaWtRSIwE789Ka2k2M9G9nO uMGyMhvfRCKUpxyr7GNsUjyJ90GJuTIPQ2+8cddYtbJmbPD5t0XD2MHV+8NOu1nKWuY/ FUVWpPucRBCP2WCKbEQhlZILvf+edsa0+SoijXEEmgP/OmFAkQdYPoueA1SPIJGdsaBT RvAw== X-Forwarded-Encrypted: i=1; AJvYcCW3nJ17YI7BZ7Jb9+jspwm3k/FiAIspLgmp1dj+onXgnqT38tKVWSmuaq9DQDeLhKxKmODbKrxozzg5+I+2s1faak8u X-Gm-Message-State: AOJu0Yx+I9AgKeVTvYRdn8hz+2RLgoSXdHHrsEmfc51WPSY8EJLvG8KA Ny/famViFdHrQne2tsxhONlEvEvSjAVQ5+PuxlECyIi3NKEqhnJwl21CJA== X-Google-Smtp-Source: AGHT+IGJN5/UHqBoFJqMuLFlh0H1eq6klPSedBdRaqJIwja6paMK5ZUXgczp3uYe7cFGlRusd/6WpA== X-Received: by 2002:a17:907:517:b0:a6f:da1:d077 with SMTP id a640c23a62f3a-a6fab6189b1mr450022466b.25.1718970000172; Fri, 21 Jun 2024 04:40:00 -0700 (PDT) Original-Received: from pro2.fritz.box (p4fe3a72a.dip0.t-ipconnect.de. [79.227.167.42]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a6fd5f7b80csm32564966b.29.2024.06.21.04.39.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 21 Jun 2024 04:39:59 -0700 (PDT) In-Reply-To: <86iky2lfgq.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 21 Jun 2024 14:09:41 +0300") Received-SPF: pass client-ip=2a00:1450:4864:20::633; envelope-from=gerd.moellmann@gmail.com; helo=mail-ej1-x633.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:320394 Archived-At: Eli Zaretskii writes: > My first suspect is our own code. Until we establish positively that > our code is fine, and what happens here is that we hit the MPS > protection in our SIGPROF handler, I don't think we should consider > changes in the MPS code. I also think it's Emacs' code. I think MPS cannot reasonably forsee that a signal handler uses MPS-managed memory, so that this kind of recursion occurs - MPS handling a signal from a barrier, being interrupted by a signal which it delivers, and that leading to hitting the same or another barrier.