Re: [PATCH v7 2/4] s390/mm: Batch PTE updates in lazy MMU mode

From: Heiko Carstens

Date: Tue Sep 01 2026 - 07:26:43 EST


On Tue, Sep 01, 2026 at 01:16:58PM +0200, Alexander Gordeev wrote:
> On Thu, Aug 27, 2026 at 01:40:01PM +0200, Alexander Gordeev wrote:
> > On Thu, Aug 27, 2026 at 10:11:56AM +0200, Heiko Carstens wrote:
> > > Imho the "final" version should either be implemented that it can go
> > > without disabling bottom halves, or, if that is not worth the effort,
> > > even disable interrupts, just to avoid other surprises.
> >
> > Yes, that would be the last resort.
>
> So leaving local_bh_enable|disable() while adding VM_BUG_ON(in_hardirq())
> could actually work.
>
> Also, I do not see how the code could be rearranged to avoid BH disable.

Ok, then let's move forward with the current implementation.
Thanks for looking into this!