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: Sat, 29 Jun 2024 23:50:01 +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> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="40268"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Eli Zaretskii , monnier@iro.umontreal.ca, 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 Sat Jun 29 23:50:45 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 1sNfy0-000AH0-LD for ged-emacs-devel@m.gmane-mx.org; Sat, 29 Jun 2024 23:50:44 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sNfxS-0003Vv-GD; Sat, 29 Jun 2024 17:50:10 -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 1sNfxQ-0003Ve-6Q for emacs-devel@gnu.org; Sat, 29 Jun 2024 17:50:08 -0400 Original-Received: from mail-ej1-x62b.google.com ([2a00:1450:4864:20::62b]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sNfxO-0001n5-El; Sat, 29 Jun 2024 17:50:07 -0400 Original-Received: by mail-ej1-x62b.google.com with SMTP id a640c23a62f3a-a725a918edaso254928966b.3; Sat, 29 Jun 2024 14:50:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1719697803; x=1720302603; 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=lTsSOAtZiNSIj08JoF6rTdFsGP/O5bTx1hMvqVJLznM=; b=hjq7WvFoOfwCA/V/u8+lpd0JaZgvgUA4HNslyoZQU9vxj0oEWCK//lhKFisAsoSNW6 Q9+iVWSJcLEppgRjltHnqpbHH898oQw7WQHLRupEDS6alGbI9Om8uNcxy+Bdv7XRd3yn OeJ3CDiB24raCVO5m4rPhpfpI27TxmzRmkuMdXjQ4747xS6jw1e6w/v6Kpjwefy/cbho LS0V59U4z//ve0E2c4UAWtiYN180Ehi63NOXozCyDKgSZICv0o3zNW51ZvBUbpvdPWCB UxSw/Wj9wMQXgWedlTuQmaBy9KwtclrgB1MhT6P5AyaZuyGn5okqbxlhvZrseiz79Wpi R0jA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1719697803; x=1720302603; 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=lTsSOAtZiNSIj08JoF6rTdFsGP/O5bTx1hMvqVJLznM=; b=Sb0JGmOc4agETcnNTLbYaAm2MEIt2DdscznufUbqmGjq5vJaJx/kM1K1jRWkPxtpSI HB8k3Z2tdMQ8lbVtgPHRM66HYNnsG6Cx3hZCjH+xXqZ7RJpWo30Br6Uynvy+OoBqLBXL KJEKXxjMEbKMVMEYLTE0u1Q/zkUYBMFdfEzW1JIc2R/TbSgMIogN1zjPE9ao9wANAKrA DF263kPAvyXNcNl4cgz9EKI89AkkIPz8qD/oylWTB51Bo5rL2M7bAJgl+GcF5uCQOqkg XtKycb6if0q4HK9u/P0cyAyqtzG/7JRRMD4xnIYYHexj7PhrnU9N7dpqdM69k1+73+hM J12Q== X-Forwarded-Encrypted: i=1; AJvYcCW7v2DGKM+h0KxpvzU440LXHEUn8B2gy5ni+jwf+mm81kYYPOwvPy9k+hK3moWVYpyqbHRbAz4kB0cFkqEZKTt43wvM X-Gm-Message-State: AOJu0YybLMSNKyXaRdWZzB6fwZ12vNjdacGqhDVbdLwIcUcEeESG9m8Q m3MiyP9lSxETXEXdkeSYyufnF5PxxAmPgnrVTY948KspgyPiXy2c X-Google-Smtp-Source: AGHT+IGF43SliUl1j3bwU7Q4bWPmrE95FeAN8qtC29If8Y+/Sz9avDo5gROvavxCWPB7j7HDAAABng== X-Received: by 2002:a17:907:86a6:b0:a6f:4d6b:c77a with SMTP id a640c23a62f3a-a75144674famr170032366b.13.1719697802898; Sat, 29 Jun 2024 14:50:02 -0700 (PDT) Original-Received: from pro2.fritz.box (pd9e36598.dip0.t-ipconnect.de. [217.227.101.152]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a72ab0901adsm191820266b.185.2024.06.29.14.50.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 29 Jun 2024 14:50:02 -0700 (PDT) In-Reply-To: <87wmm75xze.fsf@localhost> (Ihor Radchenko's message of "Sat, 29 Jun 2024 19:51:17 +0000") Received-SPF: pass client-ip=2a00:1450:4864:20::62b; envelope-from=gerd.moellmann@gmail.com; helo=mail-ej1-x62b.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:320891 Archived-At: Ihor Radchenko writes: > Eli Zaretskii writes: > >>> 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 sees, >>> 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. Jup, it's point-marker for me. No idea who calls that so often.