Re: [PATCH v7 3/4] mm/kasan: Introduce helpers for lazy MMU mode sanitizer
Heiko Carstens <[email protected]>
| Newsgroups | org.kernel.vger.linux-s390,org.kernel.vger.linux-kernel,org.kvack.linux-mm |
|---|---|
| Message-ID | <[email protected]> |
On Tue, Aug 25, 2026 at 09:50:30AM +0200, Alexander Gordeev wrote: > On Mon, Aug 24, 2026 at 11:56:35AM +0200, Heiko Carstens wrote: > > On Tue, Aug 18, 2026 at 02:01:30PM +0200, Alexander Gordeev wrote: > > > 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. > > > > What would be the benefit if [1] is accepted? > > Just another mechanism for verification, and pretty cheap one. > I would dare to say [1] does not rule out an invalid access completely. Ok, maybe we should revisit this when we know how the solution for page table accesses will be. Then hopefully it should be quite obvious if this additional code is helpful or not.