Re: [PATCH v7 3/4] mm/kasan: Introduce helpers for lazy MMU mode sanitizer
From: Alexander Gordeev
Date: Tue Aug 18 2026 - 08:03:48 EST
On Tue, Aug 18, 2026 at 12:11:34AM +0200, Andrey Konovalov wrote:
...
> Hi Alexander,
>
> Should all this be limited to only s390?
The idea is to allow any architecture to opt-in. Once [1] is accepted
this may look redundant, but I still see the benefit in having it.
I only did not manage to circumvent the ugly __no_sanitize_address
for ptep_get_lockless() to make it avoid "bogus" kasan complains when
gup_fast walks a page table that entered the lazy mmu mode.
1. https://lore.kernel.org/linux-mm/20260806083926.1807279-1-usama.anjum@xxxxxxx/
> Thanks!