All of lore.kernel.org
 help / color / mirror / Atom feed
From: sashiko-bot@kernel.org
To: "Lorenzo Stoakes (ARM)" <ljs@kernel.org>
Cc: "Christian Borntraeger" <borntraeger@linux.ibm.com>,
	"Heiko Carstens" <hca@linux.ibm.com>,
	"Vasily Gorbik" <gor@linux.ibm.com>,
	linux-s390@vger.kernel.org,
	"Alexander Gordeev" <agordeev@linux.ibm.com>
Subject: Re: [PATCH v3 03/12] mm: enable MMU_GATHER_RCU_TABLE_FREE for MMU riscv
Date: Fri, 11 Sep 2026 19:49:28 +0000	[thread overview]
Message-ID: <20260911194929.145071F0089B@smtp.kernel.org> (raw)
In-Reply-To: <20260911-rcu-pagetable-freeing-v3-3-7b8c86103821@kernel.org>

> Currently riscv gates MMU_GATHER_RCU_TABLE_FREE on CONFIG_SMP and
> CONFIG_MMU.
> 
> Commit 69be3fb111e7 ("riscv: enable MMU_GATHER_RCU_TABLE_FREE for SMP &&
> MMU") enabled CONFIG_MMU_GATHER_RCU_TABLE_FREE for CONFIG_SMP, CONFIG_MMU
> riscv builds.
> 
> This is expressly for the safety of GUP-fast walkers (CONFIG_HAVE_GUP_FAST
> is enabled if CONFIG_MMU is enabled).
> 
> Naturally a single core system does not encounter issues with software page
> table walkers being correctly synchronised across cores, as there is only a
> single core.
> 
> However, CONFIG_PREEMPT_RCU is still available on a riscv UP system, so for
> a future RCU-only page table walker, this guarantee is required to prevent
> concurrent page table teardown.
> 
> All page table freeing is already done via tlb_remove_ptdesc() so the
> conditions of CONFIG_MMU_GATHER_RCU_TABLE_FREE are already met.
> 
> This forms part of an overall effort to switch every architecture to this
> mode.
> 
> Acked-by: Kiryl Shutsemau (Meta) <kas@kernel.org>
> Signed-off-by: Lorenzo Stoakes (ARM) <ljs@kernel.org>

Sashiko has reviewed this patch and found no issues. It looks great!

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20260911-rcu-pagetable-freeing-v3-0-7b8c86103821@kernel.org?part=3


  reply	other threads:[~2026-09-11 19:49 UTC|newest]

Thread overview: 51+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-09-11 19:36 [PATCH v3 00/12] mm: make userland page table freeing RCU-safe Lorenzo Stoakes (ARM)
2026-09-11 19:36 ` Lorenzo Stoakes (ARM)
2026-09-11 19:36 ` Lorenzo Stoakes (ARM)
2026-09-11 19:36 ` [PATCH v3 01/12] mm/huge_memory: zap deposited page tables after an RCU grace period Lorenzo Stoakes (ARM)
2026-09-11 19:36   ` Lorenzo Stoakes (ARM)
2026-09-11 19:36   ` Lorenzo Stoakes (ARM)
2026-09-11 19:50   ` sashiko-bot
2026-09-11 19:36 ` [PATCH v3 02/12] mm: enable MMU_GATHER_RCU_TABLE_FREE for most 2-level architectures Lorenzo Stoakes (ARM)
2026-09-11 19:36   ` Lorenzo Stoakes (ARM)
2026-09-11 19:36   ` Lorenzo Stoakes (ARM)
2026-09-11 19:53   ` sashiko-bot
2026-09-11 19:36 ` [PATCH v3 03/12] mm: enable MMU_GATHER_RCU_TABLE_FREE for MMU riscv Lorenzo Stoakes (ARM)
2026-09-11 19:36   ` Lorenzo Stoakes (ARM)
2026-09-11 19:36   ` Lorenzo Stoakes (ARM)
2026-09-11 19:49   ` sashiko-bot [this message]
2026-09-11 19:36 ` [PATCH v3 04/12] mm: enable MMU_GATHER_RCU_TABLE_FREE for MMU arm Lorenzo Stoakes (ARM)
2026-09-11 19:36   ` Lorenzo Stoakes (ARM)
2026-09-11 19:36   ` Lorenzo Stoakes (ARM)
2026-09-11 19:53   ` sashiko-bot
2026-09-11 19:36 ` [PATCH v3 05/12] mm: enable MMU_GATHER_RCU_TABLE_FREE for arc, microblaze, xtensa Lorenzo Stoakes (ARM)
2026-09-11 19:36   ` Lorenzo Stoakes (ARM)
2026-09-11 19:36   ` Lorenzo Stoakes (ARM)
2026-09-11 19:51   ` sashiko-bot
2026-09-11 19:36 ` [PATCH v3 06/12] mm: enable MMU_GATHER_RCU_TABLE_FREE for sparc64 Lorenzo Stoakes (ARM)
2026-09-11 19:36   ` Lorenzo Stoakes (ARM)
2026-09-11 19:36   ` Lorenzo Stoakes (ARM)
2026-09-11 19:51   ` sashiko-bot
2026-09-11 19:36 ` [PATCH v3 07/12] mm: enable MMU_GATHER_RCU_TABLE_FREE for m68k-coldfire Lorenzo Stoakes (ARM)
2026-09-11 19:36   ` Lorenzo Stoakes (ARM)
2026-09-11 19:36   ` Lorenzo Stoakes (ARM)
2026-09-11 19:50   ` sashiko-bot
2026-09-11 19:36 ` [PATCH v3 08/12] mm: enable MMU_GATHER_RCU_TABLE_FREE for sh-X2 Lorenzo Stoakes (ARM)
2026-09-11 19:36   ` Lorenzo Stoakes (ARM)
2026-09-11 19:36   ` Lorenzo Stoakes (ARM)
2026-09-11 19:52   ` sashiko-bot
2026-09-11 19:36 ` [PATCH v3 09/12] mm: enable MMU_GATHER_RCU_TABLE_FREE for m68k-motorola Lorenzo Stoakes (ARM)
2026-09-11 19:36   ` Lorenzo Stoakes (ARM)
2026-09-11 19:36   ` Lorenzo Stoakes (ARM)
2026-09-11 19:56   ` sashiko-bot
2026-09-11 19:36 ` [PATCH v3 10/12] mm: enable MMU_GATHER_RCU_TABLE_FREE for sparc32 Lorenzo Stoakes (ARM)
2026-09-11 19:36   ` Lorenzo Stoakes (ARM)
2026-09-11 19:36   ` Lorenzo Stoakes (ARM)
2026-09-11 19:58   ` sashiko-bot
2026-09-11 19:36 ` [PATCH v3 11/12] mm: make userland page table freeing RCU-safe Lorenzo Stoakes (ARM)
2026-09-11 19:36   ` Lorenzo Stoakes (ARM)
2026-09-11 19:36   ` Lorenzo Stoakes (ARM)
2026-09-11 19:59   ` sashiko-bot
2026-09-11 19:36 ` [PATCH v3 12/12] mm: change the contract for free_pgtables(), update docs Lorenzo Stoakes (ARM)
2026-09-11 19:36   ` Lorenzo Stoakes (ARM)
2026-09-11 19:36   ` Lorenzo Stoakes (ARM)
2026-09-11 19:54   ` sashiko-bot

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20260911194929.145071F0089B@smtp.kernel.org \
    --to=sashiko-bot@kernel.org \
    --cc=agordeev@linux.ibm.com \
    --cc=borntraeger@linux.ibm.com \
    --cc=gor@linux.ibm.com \
    --cc=hca@linux.ibm.com \
    --cc=linux-s390@vger.kernel.org \
    --cc=ljs@kernel.org \
    --cc=sashiko-reviews@lists.linux.dev \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.