Thread (58 messages) 58 messages, 7 authors, 2025-09-15

Re: [PATCH v2 0/7] Nesting support for lazy MMU mode

From: Kevin Brodsky <hidden>
Date: 2025-09-09 09:10:53
Also in: linux-arm-kernel, linux-mm, lkml, sparclinux, xen-devel

On 08/09/2025 18:56, Lorenzo Stoakes wrote:
On Mon, Sep 08, 2025 at 08:39:24AM +0100, Kevin Brodsky wrote:
quoted
When the lazy MMU mode was introduced eons ago, it wasn't made clear
whether such a sequence was legal:

	arch_enter_lazy_mmu_mode()
	...
		arch_enter_lazy_mmu_mode()
		...
		arch_leave_lazy_mmu_mode()
	...
	arch_leave_lazy_mmu_mode()

It seems fair to say that nested calls to
arch_{enter,leave}_lazy_mmu_mode() were not expected, and most
architectures never explicitly supported it.
This is compiling with CONFIG_USERFAULTFD at all commits and series is
compiling with allmodconfig plus all mm selftests are passing so from my
side this looks good, thanks for addressing issues and rebasing! :)
Great thank you for that extensive testing, very appreciated! Shall I
add your Reviewed-by to the whole series?

- Kevin
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help