Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp2140969rwd; Fri, 2 Jun 2023 05:34:51 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5g+fx7EgIOR/iUsODKubGdnCwFbTDu7KKoKjPrW7IZ82BX6KU1ukn+t7yMER9XlV0tLqgF X-Received: by 2002:a05:6a20:918b:b0:111:1c17:3fc6 with SMTP id v11-20020a056a20918b00b001111c173fc6mr9753980pzd.10.1685709291451; Fri, 02 Jun 2023 05:34:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685709291; cv=none; d=google.com; s=arc-20160816; b=YK2Xzouz8dwCzLmKPNKJYL2wRH8CEcEQmKhXMEFME2MlgN/MYpc46EvSKsSYvp3B6U xCXfXkidooJz4hOMeMEaYyKXr+EHtZzlSYIWM8lWxYelFSkyJL5Zl+e7zSTUxcn61xUT AR7GamiNm3rQjH/DNYcWYDjBGs/kK0bXLcHiZ5/j91jv7VTswVYDCplZ7QDeWNntwBNr je9sPn8ZwudU46zIpO38auY+8NPHxoWcxm6awlmxVPBePEmliha2579eZet1MUuPQYM2 M9Dr8SIykig5Zl0j3l2T8T58G+dxZpTVlENOC38FWaDLO4wW6OZjbGqCCvJoq+gzj1yz 4P7g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=E6fUqXWlJ7lOi6jGaXDr+3k1lI6v7YmcWJa5TzCsAfQ=; b=cHOpEXn9MzbNGd6b+z8PK6wYYbxiugpNVm5m02oJwPDO35li3BjS3tAxaGxuwayDf7 Xy+K6Y1FtthOZP6PQMGY0kZHq/q8am4SixoxGbOTgkNuwVYshuvNxcQrTRjgHGZxT/Iy vXC608a7XnLzvWcinQQtKCR59qr3DmzOiq/1PQDz2JpwVHo9bn6D11DUdRQoKgacfByq zn13WETwTrj6Sbh6RIt8/yQIkfUht6nsbnlXkJtHxPbqkiHx+V9UKp4bYIC5vBH1OrcQ P5awNcNVV+N9t0AKs4ae0YPcZ4bEJjNmd0UORpOIJyHI/hec6PTm4HlDWzqtodUYKWHP vdkw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ziepe.ca header.s=google header.b=djzFovwD; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id i71-20020a63874a000000b0053fee0e4606si947645pge.232.2023.06.02.05.34.39; Fri, 02 Jun 2023 05:34:51 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@ziepe.ca header.s=google header.b=djzFovwD; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235802AbjFBMPL (ORCPT + 99 others); Fri, 2 Jun 2023 08:15:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55350 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235135AbjFBMPH (ORCPT ); Fri, 2 Jun 2023 08:15:07 -0400 Received: from mail-qk1-x72a.google.com (mail-qk1-x72a.google.com [IPv6:2607:f8b0:4864:20::72a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A340A1A7 for ; Fri, 2 Jun 2023 05:15:05 -0700 (PDT) Received: by mail-qk1-x72a.google.com with SMTP id af79cd13be357-75b14216386so194232285a.0 for ; Fri, 02 Jun 2023 05:15:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ziepe.ca; s=google; t=1685708105; x=1688300105; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=E6fUqXWlJ7lOi6jGaXDr+3k1lI6v7YmcWJa5TzCsAfQ=; b=djzFovwDfDw/YWbNLlEkijaHy+/emg+qoFOhQt066k8y7eW0hTlMePfrnYmuQ/TT6l d70TUlIzOVtlyaZIA/kRvBZRW52TVi/fieL9Uv4tiaV3F1pWuXYr7FBQh9RfbRxnphIn nIOOpE05COs4CBgwbOrTscQAp+nS6Tk8Iv2UDHWeAHyeCW+fEyc3ctU7cgeLL3sBwLok ifN7Ap+HhdKODLWUosw9jkC+w1v/s/a6CGlG9Me6OF17ZaxzMYB4I1oIF5wWR3fHyTGr 08q6Rpe08Gpj6mZ/RNU2DbMTQT+rS4iJPNpmpLyZGzEJB5e0jQtm57AIXlZP3QoFdL6G nNRg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1685708105; x=1688300105; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=E6fUqXWlJ7lOi6jGaXDr+3k1lI6v7YmcWJa5TzCsAfQ=; b=bp4LXI570VxdY2WBgXGVmG0TDhBGcxB/WuxnSKjwanDeD3MvWYUZ0ovXBKIKvvrsFX AiLqpOKhoLzTBdq4WqSMv3l6Zw6s3iw8FyWXFXua7YZL3L4Eo/sFhELCu89BNpFHzviG NuVSVuOf3U3oNOq181K4YSmGMr9uBKKX215NlkwnJqMWjmSl+3n6dJ+hGFKHb1bnfbRB oiHYMKHrn0BgkBKJc3suhOfPh3BNaTLiH64QZhKMjnCUeNq4F/In6ZHVD6iuzhB0D087 V1vtAZuuTjCRRuVeN6JaG9ymMvSvxtBgXoJPDde13cCxOuyxn/CP8r/Jhj53ugS7zAjM g4Sw== X-Gm-Message-State: AC+VfDxYUKnCj4cPAa2A1B51CgqaB+f3+8Bo9IVN2/MEV9gwo4kETQhE bbLnjBIpgtaW45HQ0B0XzH98rQ== X-Received: by 2002:a05:620a:4481:b0:75b:23a0:e7cc with SMTP id x1-20020a05620a448100b0075b23a0e7ccmr17244216qkp.45.1685708104769; Fri, 02 Jun 2023 05:15:04 -0700 (PDT) Received: from ziepe.ca ([206.223.160.26]) by smtp.gmail.com with ESMTPSA id p18-20020ae9f312000000b0075cad1e5907sm581918qkg.7.2023.06.02.05.15.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 02 Jun 2023 05:15:04 -0700 (PDT) Received: from jgg by wakko with local (Exim 4.95) (envelope-from ) id 1q53gM-001uE9-W9; Fri, 02 Jun 2023 09:15:03 -0300 Date: Fri, 2 Jun 2023 09:15:02 -0300 From: Jason Gunthorpe To: Hugh Dickins Cc: Andrew Morton , Mike Kravetz , Mike Rapoport , "Kirill A. Shutemov" , Matthew Wilcox , David Hildenbrand , Suren Baghdasaryan , Qi Zheng , Yang Shi , Mel Gorman , Peter Xu , Peter Zijlstra , Will Deacon , Yu Zhao , Alistair Popple , Ralph Campbell , Ira Weiny , Steven Price , SeongJae Park , Naoya Horiguchi , Christophe Leroy , Zack Rusin , Axel Rasmussen , Anshuman Khandual , Pasha Tatashin , Miaohe Lin , Minchan Kim , Christoph Hellwig , Song Liu , Thomas Hellstrom , Russell King , "David S. Miller" , Michael Ellerman , "Aneesh Kumar K.V" , Heiko Carstens , Christian Borntraeger , Claudio Imbrenda , Alexander Gordeev , Jann Horn , linux-arm-kernel@lists.infradead.org, sparclinux@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, linux-s390@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mm@kvack.org Subject: Re: [PATCH 08/12] mm/pgtable: add pte_free_defer() for pgtable as page Message-ID: References: <35e983f5-7ed3-b310-d949-9ae8b130cdab@google.com> <739964d-c535-4db4-90ec-2166285b4d47@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jun 01, 2023 at 11:03:11PM -0700, Hugh Dickins wrote: > > I was hoping Mathew's folio conversion would help clarify this.. > > I doubt that: what we have for use today is pages, however they are > dressed up. I mean the part where Matthew is going and splitting the types and making it much clearer and type safe how the memory is layed out. eg no more guessing if the arch code is overlaying something else onto the rcu_head. Then the hope against hope is that after doing all this we can find enough space for everything including the rcu heads.. Jason