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 15E37C79FB6 for ; Wed, 9 Sep 2026 11:25:33 +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=xZYl8UtVvpE9Cz6/OjKYeUtCg1JA+ALJuRymk+ZDKxI=; b=IKU3eBG65i6NX3 MC2jfbGa9MPaNVJw93uB0JKJQa4gxHOmqrRvTyCkGIuiPbxZ/cnx+KYJwHtFH063ecieu2zasBgX+ XHdDt8moE9+ygaP4gTKgGrvi/yGTpKh/zBjHk2Ap8olo0q5R+xh4uEOh0SH7iTPD0e0M1aFhWfRqW ZxO9U4m2ZRriBLw2R6j70KfvOZxD5uYQ2eUxcA1Afypv+lbdMEb0k6mMuW0m4J6Fs+kllgYlvCBby 7tZdFPhDpkgiI1HJ7sDd79HV1IXOWK3xmDpOaECxyM97PXYxiJ8yb37So6sTejI9dpXOtILdarF5B cP6sg0XBk65oCAdJLYvQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.99.1 #2 (Red Hat Linux)) id 1x4GQW-0000000BYzm-3J78; Wed, 09 Sep 2026 11:25:16 +0000 Received: from tor.source.kernel.org ([172.105.4.254]) by bombadil.infradead.org with esmtps (Exim 4.99.1 #2 (Red Hat Linux)) id 1x4GQU-0000000BYzG-1hgI; Wed, 09 Sep 2026 11:25:15 +0000 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) by tor.source.kernel.org (Postfix) with ESMTP id 08BF160211; Wed, 9 Sep 2026 11:25:13 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id DA8571F00A3D; Wed, 9 Sep 2026 11:24:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1788953112; bh=inNJzZhlDskfV4tobMRa6NUvX+KktI2JxAaJsuypEcU=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=YCsVcikzxNnvBT0Y3c5qUMcZq6CnjiF9LAucMz9KUDz/X8rycnl20TJiMBuTV44C6 ciuJ5X0Mary0o+RdhTl8tWHSISMo1lGTn+IXwhIQfs7dZg1NC//UvrgDFVVFH2BXXg wGSvIxQ/NBgeVTkoO77PEhxG5tF/kt0hk770YdbvA7jzYldeFCi6gaAA3Ie47dGZ4o rDioSU8ROD/U0Ex4wV585kl0B6XRkVhfL48+PBTUa/l0vXguhxnOvt9I9np0ualYy6 L7k5zESC+bnaJX5hWbMNkzgmSv0XEtgXO0Eiy5hQl/cIt/eJwNjq2z/FZB7YFfjxHL 0pO6lgM9ge/7g== Date: Wed, 9 Sep 2026 12:24:48 +0100 From: "Lorenzo Stoakes (ARM)" To: Andrew Morton Cc: David Hildenbrand , Zi Yan , Baolin Wang , "Liam R. Howlett" , Nico Pache , Ryan Roberts , Dev Jain , Barry Song , Lance Yang , Usama Arif , Kiryl Shutsemau , Guo Ren , Brian Cain , Geert Uytterhoeven , Dinh Nguyen , Simon Schuster , Jonas Bonn , Stefan Kristiansson , Stafford Horne , Yoshinori Sato , Rich Felker , John Paul Adrian Glaubitz , Paul Walmsley , Palmer Dabbelt , Albert Ou , Alexandre Ghiti , Russell King , Vineet Gupta , Michal Simek , Chris Zankel , Max Filippov , Will Deacon , "Aneesh Kumar K.V" , Nick Piggin , Peter Zijlstra , "David S. Miller" , Andreas Larsson , Richard Henderson , Matt Turner , Magnus Lindholm , Catalin Marinas , Mark Rutland , Huacai Chen , WANG Xuerui , Thomas Bogendoerfer , "James E.J. Bottomley" , Helge Deller , Madhavan Srinivasan , Michael Ellerman , "Christophe Leroy (CS GROUP)" , Heiko Carstens , Vasily Gorbik , Alexander Gordeev , Christian Borntraeger , Sven Schnelle , Richard Weinberger , Anton Ivanov , Johannes Berg , Thomas Gleixner , Ingo Molnar , Borislav Petkov , Dave Hansen , x86@kernel.org, "H. Peter Anvin" , Arnd Bergmann , Vlastimil Babka , Mike Rapoport , Suren Baghdasaryan , Michal Hocko , Jason Gunthorpe , John Hubbard , Peter Xu , linux-mm@kvack.org, linux-kernel@vger.kernel.org, linux-csky@vger.kernel.org, linux-hexagon@vger.kernel.org, linux-m68k@lists.linux-m68k.org, linux-openrisc@vger.kernel.org, linux-sh@vger.kernel.org, linux-riscv@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-snps-arc@lists.infradead.org, linux-arch@vger.kernel.org, sparclinux@vger.kernel.org, linux-alpha@vger.kernel.org, loongarch@lists.linux.dev, linux-mips@vger.kernel.org, linux-parisc@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, linux-s390@vger.kernel.org, linux-um@lists.infradead.org, Hugh Dickins , Qi Zheng Subject: Re: [PATCH v2 00/12] mm: make userland page table freeing RCU-safe Message-ID: References: <20260908-rcu-pagetable-freeing-v2-0-1f60b64e878e@kernel.org> <20260908141543.8180b60400d38b70d249949b@linux-foundation.org> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20260908141543.8180b60400d38b70d249949b@linux-foundation.org> X-BeenThere: linux-riscv@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-riscv" Errors-To: linux-riscv-bounces+linux-riscv=archiver.kernel.org@lists.infradead.org On Tue, Sep 08, 2026 at 02:15:43PM -0700, Andrew Morton wrote: > On Tue, 08 Sep 2026 13:32:09 +0100 "Lorenzo Stoakes (ARM)" wrote: > > > The majority of architectures in the kernel defer page table freeing until > > an RCU grace period has elapsed, this series converts all remaining > > architectures to do so too and eliminates CONFIG_MMU_GATHER_RCU_TABLE_FREE > > altogether. > > > > This is important because it enables safe lockless page table walking under > > RCU alone. > > > > Doing so allows for reduced lock contention, avoids lock ordering concerns > > and enables fast, efficient and correct page table walking as a result. > > > > Additionally it removes a bunch of code and architecture-specific behaviour > > which is always a beneficial thing to do. > > Thanks. It's early and unreviewed, but this is mainly an > if-it-compiles-its-good thing, so I'll add it for exposure to the > build/checker universe. Yeah largely, and I have done additional testing for cases which need it. > > > However some arches required extra attention - sh-X2, m68k-motorola and > > sparc32. > > OK. Please lmk later if you think additional reviewer/tester attention > is desirable in these areas. Only really the fancier sparc32 setup which can't be emulated [there's a call out in the cover for that one!] :) though sashiko found an issue with that that is now fixed. The other two I boot tested locally under emulation with no issues :) > -- Cheers, Lorenzo _______________________________________________ linux-riscv mailing list linux-riscv@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-riscv