From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Opportunistic GC Date: Mon, 08 Mar 2021 19:06:39 +0200 Message-ID: <83v9a1r2w0.fsf@gnu.org> References: <666da624-2f59-2eb4-8e56-f0ad20dd900c@gmx.at> <26ff7447-9c29-a2f2-bf3d-9eac20a95d0f@gmx.at> <838s6xsnsv.fsf@gnu.org> <831rcpsm8y.fsf@gnu.org> <83zgzdr4ox.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="3606"; mail-complaints-to="usenet@ciao.gmane.io" Cc: rudalics@gmx.at, monnier@iro.umontreal.ca, emacs-devel@gnu.org To: Pip Cet Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Mar 08 18:36:15 2021 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 1lJJnh-0000mo-FQ for ged-emacs-devel@m.gmane-mx.org; Mon, 08 Mar 2021 18:36:13 +0100 Original-Received: from localhost ([::1]:52322 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lJJng-0002SK-F0 for ged-emacs-devel@m.gmane-mx.org; Mon, 08 Mar 2021 12:36:12 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:48396) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lJJLR-0007Hm-Qa for emacs-devel@gnu.org; Mon, 08 Mar 2021 12:07:02 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:51806) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lJJLR-00041G-3w; Mon, 08 Mar 2021 12:07:01 -0500 Original-Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:1450 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1lJJLC-00023A-Nf; Mon, 08 Mar 2021 12:06:58 -0500 In-Reply-To: (message from Pip Cet on Mon, 8 Mar 2021 16:35:30 +0000) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 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" Xref: news.gmane.io gmane.emacs.devel:266211 Archived-At: > From: Pip Cet > Date: Mon, 8 Mar 2021 16:35:30 +0000 > Cc: rudalics@gmx.at, Stefan Monnier , emacs-devel@gnu.org > > > And how do you make sure the mark bits will be on a different/separate > > page? > > We allocate cons blocks aligned to physical pages. What is a "physical page" for this purpose? You want a page whose size will make sure you don't trigger copy-on-write when you change some bit -- are you sure that this size is always the same as the "page size" we use for so-called "page-aligned" allocations? And if the answer is YES, how future-proof is it? > What am I missing? I don't know whether we are missing something. We are on new ground here: we never cared in Emacs about physical layout of memory, at least not so much.