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: dangling markers Date: Sun, 30 Jun 2024 07:36:20 +0200 Message-ID: References: <87v81u85hv.fsf@localhost> <87frsx81m2.fsf@localhost> <87cyo180y2.fsf@localhost> <874j9d7zqe.fsf@localhost> <87sewvg6lw.fsf@localhost> <86ed8fiug3.fsf@gnu.org> <86bk3jirx7.fsf@gnu.org> <868qynipph.fsf@gnu.org> <87wmm75xze.fsf@localhost> <865xtrhvtp.fsf@gnu.org> 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="16495"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: yantar92@posteo.net, monnier@iro.umontreal.ca, 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 Sun Jun 30 07:36:53 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 1sNnF7-00048V-Ix for ged-emacs-devel@m.gmane-mx.org; Sun, 30 Jun 2024 07:36:53 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sNnEn-0007Xc-Jn; Sun, 30 Jun 2024 01:36:33 -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 1sNnEl-0007XM-8d for emacs-devel@gnu.org; Sun, 30 Jun 2024 01:36:31 -0400 Original-Received: from mail-ej1-x62e.google.com ([2a00:1450:4864:20::62e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sNnEf-00080A-JV; Sun, 30 Jun 2024 01:36:28 -0400 Original-Received: by mail-ej1-x62e.google.com with SMTP id a640c23a62f3a-a725ea1a385so228409966b.3; Sat, 29 Jun 2024 22:36:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1719725782; x=1720330582; 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=H8wF05bqlAxaEhupwioJmu/Tm+bn2zbjIkSphUG+Xig=; b=Xo5b1d30Lz2aTX3QZagCrDGLQ0dtFRxAQ+JAjBowHJBi2ZLW3hwDZ496vVskwlHJ3w OU2+HPhbNwjcCt3gIFzWvcEMnJfuyhnAe/xLsbvg2YD+GZlVNtEanChLda3C78h7H83E J59KXhvmiKiGtQYvrn3Yyir3ep0WIOiqzNmfuoknhNJZ9Tmf3gzeUPr0DWUHyNzf3qbf 3SyQmELHM/vNpX85RfLbmEu4cXnzPQk/+UYYQduyiRw8vT0iTQ4ZJkno/4KkFj0vRvm4 DzRLKU7h5ddhGyM9xWQImworiT7Gg70waFVrnzh6IUTYn7MOlE3B5u0KijF2t8/DJuIK YSYg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1719725782; x=1720330582; 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=H8wF05bqlAxaEhupwioJmu/Tm+bn2zbjIkSphUG+Xig=; b=YTCzhghlas2x8zoeLfocHLnHTXhGKfuTlWs13SMxVyzKEQjPW71aXmSGEiqSXRWhtk 6qaMDSVo+WJ8tqqzQU0NN8POsIN0l01v5ntgkgv4eHf3SWb1EuDuGXnT3YIhFaMjyAe1 2J+gOT9wvFX5RtNv4a54NtbsbmPxz5wYqE3MJSs5YMcCOcevbqnwpUFDGcB6yJ65KU/o NwOqbAe9XofaS0NwYtBXYqLKwCNyChd8qsfmGEjOd/FuR0otGIYBU2eCYv8KcIACgNvJ 2MmBa1NEN1jGxjZXqeR+yK1EgZTphFiScLUn0Fje7LXqh7O2Fjq2EKFhryP0ofb7/FI1 ivVw== X-Forwarded-Encrypted: i=1; AJvYcCUO5k+tFpV51nyFFNnr9GdcShFNuNbtRr2YvO8LkWNzF3KIQncloARjdJvNaIqdDwXJ0PbWUd7iyA+XhSt6EsEATFKx X-Gm-Message-State: AOJu0YxLbWaKXI5N2USCgn3HgDyZjuV1oWa16viP/OPUY7SzGFVffa2h eKpjvsNprBCgylDqIHDDD15yhukH//2Z5HEORXYblVrCC50qH5m1olmb7A== X-Google-Smtp-Source: AGHT+IEWWJzvEyxO2oHuooCF0Fd26ajiJaP4wbI8sY2zrTV2098EKpcY1aH2LYIiBWo4Zqe/JmikHA== X-Received: by 2002:a17:906:34ce:b0:a6f:49b1:dec5 with SMTP id a640c23a62f3a-a7514422cdemr127710666b.46.1719725781702; Sat, 29 Jun 2024 22:36:21 -0700 (PDT) Original-Received: from pro2.fritz.box (pd9e36a45.dip0.t-ipconnect.de. [217.227.106.69]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a72aaf6398csm213897466b.83.2024.06.29.22.36.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 29 Jun 2024 22:36:21 -0700 (PDT) In-Reply-To: <865xtrhvtp.fsf@gnu.org> (Eli Zaretskii's message of "Sun, 30 Jun 2024 07:57:06 +0300") Received-SPF: pass client-ip=2a00:1450:4864:20::62e; envelope-from=gerd.moellmann@gmail.com; helo=mail-ej1-x62e.google.com X-Spam_score_int: -10 X-Spam_score: -1.1 X-Spam_bar: - X-Spam_report: (-1.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, FREEMAIL_REPLY=1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no 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:320917 Archived-At: Eli Zaretskii writes: >> From: Gerd M=C3=B6llmann >> Cc: Eli Zaretskii , monnier@iro.umontreal.ca, >> emacs-devel@gnu.org, eller.helmut@gmail.com >> Date: Sat, 29 Jun 2024 23:50:01 +0200 >>=20 >> Ihor Radchenko writes: >>=20 >> >>> Sorry, I've asked not precisely enough. Do we know the percentage of >> >>> markers generated by that code? I mean, of the 500K markers Ihor see= s, >> >>> how many could be spare? >> >> >> >> I don't know, but a simple instrumentation (or even just a suitably >> >> defined breakpoint) will tell. >> > >> > I looked into this. And it is near 0%. The overwhelming majority of the >> > markers are created by something else. I mostly saw save_excursion_save >> > in backtraces - it creates transient markers to save point position. >>=20 >> Jup, it's point-marker for me. No idea who calls that so often. > > Org, who else? Look at the backtrace. Ihor do you plead guilty? :-) In the case when I made the histogram there were no org buffers involved. It must be something different.