Re: [PATCH v2 5/6] s390/mm: Batch PTE updates in lazy MMU mode

Alexander Gordeev
2026-04-16T05:51:40Z

On Thu, Apr 16, 2026 at 07:40:45AM +0200, Heiko Carstens wrote:
> > +#if !defined(CONFIG_IPTE_BATCH) || defined(__DECOMPRESSOR)
> > +static inline
> > +bool ipte_batch_ptep_test_and_clear_young(struct vm_area_struct *vma,
> > + unsigned long addr, pte_t *ptep,
> > + int *res)
> > +{
> > + return false;
> > +}
>
> Why does this depend on __DECOMPRESSOR? Which code in the decompressor
> would generate a call to the ipte_batch functions?

Any call to ptep_get() or set_pte().