From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id F00F7C77B7A for ; Thu, 18 May 2023 12:12:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=/3vAVcHVFGw31BsPIYnX3HdrywT/JrmFgwWsfw1k/Dc=; b=sLDTVvXgR++Dt9 wJ3khO9HQOA5J2LYeAnRRj5weY77fWlg6JRCCNLF39t469KrkvYpGCEmmdlNJDkXRhpRkdT1KlBn3 eBQAFB9iIoXytIkx6TbmPa0VorRPVLsd6jj37HZeZ9Lsx4cdzZd5HFYSv96Q4y1fA7ZxotmCwlquF ApW7FRO+Y3AUbKLDnPM0PsN0mdTemPBmBON+EYIAG2O3W3MN+liChzsUrCq0pkYQ3AQV4nu3Mjucu Dm1sO5s+zYmXyzrNblUc9ARCtAPXWeKUgz5LGvNQhm2MBx+QtfpwItvnK7pRJkKRpGEVjdghCTnPn pbbJjGGbfdYETFso4IoA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1pzcUO-00Cvnw-1v; Thu, 18 May 2023 12:12:12 +0000 Received: from mail-qk1-x730.google.com ([2607:f8b0:4864:20::730]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1pzcUL-00CvlT-12 for linux-um@lists.infradead.org; Thu, 18 May 2023 12:12:10 +0000 Received: by mail-qk1-x730.google.com with SMTP id af79cd13be357-75795493bceso106662685a.3 for ; Thu, 18 May 2023 05:12:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ziepe.ca; s=google; t=1684411926; x=1687003926; 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=b1LVde9eD9hiDa72aXFp01UeitZcx1XKK5VRIQwwJ4w=; b=f1WIjix4LVO2qoUadyymiNEwWX8LVYnKjiZJmHZsA00vpgp8OzN7fLeOXwmxyAsNjQ sHOCKYtaHjUeBnmA70xUS7m11Y8GXRs0HF7i7PVSFcwvUzQVx0yAXlGLYQrw7yq7y3KH MBoMqwZGJTzwuItitFkcFv88cqBCrBWri+DUGp8Fc0eAqXpc1sD7lY1vf9Zu0c1UnHTi g1NSzolGSvoeoheQrwHIwMvc3Rso4DvQpoRRtvFDk7J6iY3SLf6NCCF8S9IRrkOXhhUV HRuCy/CUe+KQ4Lk9dlGX7GSjHNglFJk4MTFkm4joUr1QsJe7so9IrOlgfq/tmei89LyY B2xw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1684411926; x=1687003926; 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=b1LVde9eD9hiDa72aXFp01UeitZcx1XKK5VRIQwwJ4w=; b=e4yW7VhlfhByO91V5TipW5gMEYpfOnAP+DnT+ZojKiKiJBzmhze2BAqiZ5iD/shBwm 4X3UkmwU2Rz1vEbQQRtUxLPpci1UYq/naIQHCoVZY+SnmhGSHp9rvhevLTny9eOOdliM LLJ7nMReVvVKZQH0jeZlLBBEcm3nb3lnWLByI74bS7ntIPOScqlzYzLq5kSWSNH/4G2p MEnMYwGR8hV50K7a/UVAlvWYuCf4QweaqB4EbJGViOfx6nZrZ2YRMaRy6ruQ05Kt6ZcK P1WceSxG8awbe3Su3weCGmZt81Pq5iP4mjF2QvuoabY9rNCYtM6rMAttPaiF8vW41053 PDxw== X-Gm-Message-State: AC+VfDwFrVyK8QXYD8c1cxye86UbSfG68TdgQt1Q/Zq8CHJVuavTYRNE uP5Cxii6jOrA3+HywIKgpbmolg== X-Google-Smtp-Source: ACHHUZ7wZ7lgCFFjWmWBQuc0tx+WGJVC/VREvoop6Vbqh2gPTjnAeer0zQN00cudqqAWi4mVPLtPKg== X-Received: by 2002:a05:6214:2486:b0:5fd:7701:88c5 with SMTP id gi6-20020a056214248600b005fd770188c5mr5974330qvb.6.1684411925806; Thu, 18 May 2023 05:12:05 -0700 (PDT) Received: from ziepe.ca (hlfxns017vw-142-68-25-194.dhcp-dynamic.fibreop.ns.bellaliant.net. [142.68.25.194]) by smtp.gmail.com with ESMTPSA id w8-20020a0562140b2800b006215c5bb2e9sm476635qvj.70.2023.05.18.05.12.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 18 May 2023 05:12:05 -0700 (PDT) Received: from jgg by wakko with local (Exim 4.95) (envelope-from ) id 1pzcUG-0055VE-PF; Thu, 18 May 2023 09:12:04 -0300 Date: Thu, 18 May 2023 09:12:04 -0300 From: Jason Gunthorpe To: "Vishal Moola (Oracle)" Cc: Andrew Morton , Matthew Wilcox , linux-mm@kvack.org, linux-arch@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-csky@vger.kernel.org, linux-hexagon@vger.kernel.org, loongarch@lists.linux.dev, linux-m68k@lists.linux-m68k.org, linux-mips@vger.kernel.org, linux-openrisc@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, linux-riscv@lists.infradead.org, linux-s390@vger.kernel.org, linux-sh@vger.kernel.org, sparclinux@vger.kernel.org, linux-um@lists.infradead.org, xen-devel@lists.xenproject.org, kvm@vger.kernel.org, Catalin Marinas , Huacai Chen , Geert Uytterhoeven , Thomas Bogendoerfer , Dinh Nguyen , Jonas Bonn , David Hildenbrand , Claudio Imbrenda , Paul Walmsley , "David S. Miller" , Richard Weinberger , Yoshinori Sato , Dave Hansen , Arnd Bergmann Subject: Re: [PATCH v2 00/34] Split ptdesc from struct page Message-ID: References: <20230501192829.17086-1-vishal.moola@gmail.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20230501192829.17086-1-vishal.moola@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230518_051209_361931_8B14DC70 X-CRM114-Status: UNSURE ( 9.98 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-um@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-um" Errors-To: linux-um-bounces+linux-um=archiver.kernel.org@lists.infradead.org On Mon, May 01, 2023 at 12:27:55PM -0700, Vishal Moola (Oracle) wrote: > The MM subsystem is trying to shrink struct page. This patchset > introduces a memory descriptor for page table tracking - struct ptdesc. > > This patchset introduces ptdesc, splits ptdesc from struct page, and > converts many callers of page table constructor/destructors to use ptdescs. Lightly related food for future thought - based on some discussions at LSF/MM it would be really nice if an end result of this was that a rcu_head was always available in the ptdesc so we don't need to allocate memory to free a page table. Jason _______________________________________________ linux-um mailing list linux-um@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-um