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 33B45CA0FED for ; Tue, 9 Sep 2025 06:56:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: Content-Type:Mime-Version:References:In-Reply-To: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=2TKV760fRnnRQ3DBjX3Iximd/yUD+u3aPBxTUgdAocc=; b=1iaB6Dn99sZ+VG7r3atS07ghOf 7Sc16+SFt8bEmWSMrxj8L6kKo81nQRzfqQwwlKEendCK5VbddzcYcsBK6Ny0gDYoaYW6W4sRNLaeg FShG7gOlNI1YePA5VYz5tM3oHtMAQdJVf7BSI92NEaaY7os6hrCWxwRcs6SGLioNFf2zkoXbgwZCL 0Nw6MAf572uDX/xBUQa3dgSW/KWBn8Cvml59eWGSef/dlrtk5ZqhmCb2xLoA6XZETACHx4jk6/R5q 2zmM+AG3GqtV7K1jqQopZmipQoHde2eJKVIKr8BDh8/zk87R1smGQy/p92VqdcrGYIfbO4BYPFixn hbobyUZw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98.2 #2 (Red Hat Linux)) id 1uvsH1-00000004w5Q-0qB1; Tue, 09 Sep 2025 06:56:15 +0000 Received: from sea.source.kernel.org ([2600:3c0a:e001:78e:0:1991:8:25]) by bombadil.infradead.org with esmtps (Exim 4.98.2 #2 (Red Hat Linux)) id 1uvnts-00000003dll-26el for linux-arm-kernel@lists.infradead.org; Tue, 09 Sep 2025 02:16:06 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by sea.source.kernel.org (Postfix) with ESMTP id 26F3543E29; Tue, 9 Sep 2025 02:16:04 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 07D67C4CEF1; Tue, 9 Sep 2025 02:16:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linux-foundation.org; s=korg; t=1757384164; bh=xKkpvDQWGBF1SNQMUrwQak6dbS7+Kaawp2n8VZWz+M4=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=Ji+MvIMJjnCzrm7JJouZjdcrryC08RI/Y6GwKlm7FmWFFjuLZhlIDnztPmdSccd+S XVAieks/t16/1DrhnW8YjQQ5RGHB69prkFM4EIJDH7kM1ar3vtf0c34VBvQ5OpxJXk jgytnzkbwbD6aEm0RBJgjRvCRYzqKtlr879Qt3uE= Date: Mon, 8 Sep 2025 19:16:02 -0700 From: Andrew Morton To: Kevin Brodsky Cc: linux-mm@kvack.org, linux-kernel@vger.kernel.org, Alexander Gordeev , Andreas Larsson , Boris Ostrovsky , Borislav Petkov , Catalin Marinas , Christophe Leroy , Dave Hansen , David Hildenbrand , "David S. Miller" , "H. Peter Anvin" , Ingo Molnar , Jann Horn , Juergen Gross , "Liam R. Howlett" , Lorenzo Stoakes , Madhavan Srinivasan , Michael Ellerman , Michal Hocko , Mike Rapoport , Nicholas Piggin , Peter Zijlstra , Ryan Roberts , Suren Baghdasaryan , Thomas Gleixner , Vlastimil Babka , Will Deacon , Yeoreum Yun , linux-arm-kernel@lists.infradead.org, linuxppc-dev@lists.ozlabs.org, sparclinux@vger.kernel.org, xen-devel@lists.xenproject.org Subject: Re: [PATCH v2 0/7] Nesting support for lazy MMU mode Message-Id: <20250908191602.61160a7990b9ea418de758c7@linux-foundation.org> In-Reply-To: <20250908073931.4159362-1-kevin.brodsky@arm.com> References: <20250908073931.4159362-1-kevin.brodsky@arm.com> X-Mailer: Sylpheed 3.8.0beta1 (GTK+ 2.24.33; x86_64-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20250908_191604_561900_480A9F0B X-CRM114-Status: GOOD ( 12.16 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Mon, 8 Sep 2025 08:39:24 +0100 Kevin Brodsky wrote: > The main change enabling nesting is patch 2, following the approach > suggested by Catalin Marinas [4]: have enter() return some state and > the matching leave() take that state. This is so totally the correct way. Thanks.