From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Pip Cet Newsgroups: gmane.emacs.devel Subject: Re: Opportunistic GC Date: Mon, 8 Mar 2021 16:35:30 +0000 Message-ID: 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> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="12694"; mail-complaints-to="usenet@ciao.gmane.io" Cc: rudalics@gmx.at, Stefan Monnier , emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Mar 08 17:37:58 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 1lJItK-0003CS-6V for ged-emacs-devel@m.gmane-mx.org; Mon, 08 Mar 2021 17:37:58 +0100 Original-Received: from localhost ([::1]:45106 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lJItJ-0004Pm-66 for ged-emacs-devel@m.gmane-mx.org; Mon, 08 Mar 2021 11:37:57 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:40286) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lJIra-0003SB-7Y for emacs-devel@gnu.org; Mon, 08 Mar 2021 11:36:10 -0500 Original-Received: from mail-ot1-x332.google.com ([2607:f8b0:4864:20::332]:39471) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lJIrY-0008J6-U2; Mon, 08 Mar 2021 11:36:10 -0500 Original-Received: by mail-ot1-x332.google.com with SMTP id h22so9774069otr.6; Mon, 08 Mar 2021 08:36:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=b+gudx/z1fK9TWIqWCVug0cTPl3DHoVm1GJ4xDoK+fc=; b=si1WrANJUpp0SP3j3VP47mDDQQKjzr7ghuD3jmA8HahdlKA4w5qApNGyTxEDt3Dd/p 1FBHcNHegXfpyFpT/bdHRm2fbx0wPXaC6wvDeszxkgwEdjjUYxor2O1b3f/JaPa6wgt+ ygTR63Tf6S1pGwaGtxZcYldgsvDJapTHDeRrT/0s3PzvwhswbpDwmTwGa3xmOB7tS4se 3i+wm/+4JWRaUcYTJpqEIDkV5QjO757g0jKhvGFEHNVO+WtvPvQvb4bp0cojWLWcI1iW T7eFM5jFURUsG0qCFudA3gFweOyTW9UJOPQx16JNaGIu2ISBuoTt+yG094Ctwg24RyqT Cqjg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=b+gudx/z1fK9TWIqWCVug0cTPl3DHoVm1GJ4xDoK+fc=; b=O/c9uL+stdCwiT+oPL30OWOLu2eRiex/ZPcPnbHzak5qZUl3EqqSWeQjOUmw1/zbRi MLRaQPnArycs54UGjw3cESb5mAQ2qyOD09kLcGP+Ws8pF4JbD3SEs1ElDha9IDndRf6s SnrvmvmLfGTzgkOLwOJAjVC7SQGwvdH8vwJQw9uByHew0BBDkv6bI9ZA6F5NbGiDccPU BeAsScJnCbXrLwAqwtkIyp47cIfqevC5rAx48p60WKEllD/5Krduyip/eOALzHTy1q8W /pK/7E0+AXLqfAbA4e/qarrFY9swwSAAHgl7OwdA/Y8BAv1fVZDesucECOSG+GRaYb2E nDbg== X-Gm-Message-State: AOAM533xXTDixTvmwFm69ctP6Ooax8/EkSXFkYzqQz8roqNlYsh/9uIL ZpSuqHiyDh/zCD4yWQlcacXdF36YZq/15z0UfwVLXGjYzhs= X-Google-Smtp-Source: ABdhPJxBJSIh8S4W11yGLJT2mHIWrzEUiLO7SDqJQJ6HjayBSO/61X+Vr+NXTV9dslLq6zgZEvHmDXcTIf9x2UfUACM= X-Received: by 2002:a05:6830:1e51:: with SMTP id e17mr20314048otj.292.1615221366915; Mon, 08 Mar 2021 08:36:06 -0800 (PST) In-Reply-To: <83zgzdr4ox.fsf@gnu.org> Received-SPF: pass client-ip=2607:f8b0:4864:20::332; envelope-from=pipcet@gmail.com; helo=mail-ot1-x332.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.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:266206 Archived-At: On Mon, Mar 8, 2021 at 4:27 PM Eli Zaretskii wrote: > > From: Pip Cet > > Date: Mon, 8 Mar 2021 15:39:07 +0000 > > Cc: rudalics@gmx.at, Stefan Monnier , emacs-devel@gnu.org > > > > > Also, doesn't it mean you increase the memory required for a cons by a > > > factor of 1.5, as it now needs one more member (3 words instead of 2)? > > > > There'd be one pointer per cons block, not one per cons, so the factor > > is 1.008 on this machine. > > And how do you make sure the mark bits will be on a different/separate > page? We allocate cons blocks aligned to physical pages. The mark bits don't live in the cons block. Therefore, they can't live on the same page as a cons block. What am I missing? Pip