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

From: Alexander Gordeev

Date: Thu Apr 16 2026 - 01:56:08 EST


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().