On Wed, Apr 22, 2026 at 12:01 AM Michael S. Tsirkin <[email protected]> wrote: > > Now that the generic vma_alloc_zeroed_movable_folio() uses > __GFP_ZERO, the arch-specific macros on alpha, m68k, s390, and > x86 that did the same thing are redundant. Remove them. > > arm64 is not affected: it has a real function override that > handles MTE tag zeroing, not just __GFP_ZERO. > > Suggested-by: David Hildenbrand <[email protected]> > Signed-off-by: Michael S. Tsirkin <[email protected]> > --- > arch/alpha/include/asm/page.h | 3 --- > arch/m68k/include/asm/page_no.h | 3 --- > arch/s390/include/asm/page.h | 3 --- > arch/x86/include/asm/page.h | 3 --- > 4 files changed, 12 deletions(-) > > diff --git a/arch/alpha/include/asm/page.h b/arch/alpha/include/asm/page.h > index 59d01f9b77f6..4327029cd660 100644 > --- a/arch/alpha/include/asm/page.h > +++ b/arch/alpha/include/asm/page.h > @@ -12,9 +12,6 @@ > > extern void clear_page(void *page); > > -#define vma_alloc_zeroed_movable_folio(vma, vaddr) \ > - vma_alloc_folio(GFP_HIGHUSER_MOVABLE | __GFP_ZERO, 0, vma, vaddr) > - > extern void copy_page(void * _to, void * _from); > #define copy_user_page(to, from, vaddr, pg) copy_page(to, from) >
>From an alpha perspective, this looks good to me. Acked-by: Magnus Lindholm <[email protected]>

