Subject: Re: [PATCH v1 15/16] mm: rename zap_vma_ptes() to zap_special_vma_range()

From: Leon Romanovsky <[email-masked]>
Date: Wed, 4 Mar 2026 17:26:52 +0200

On Fri, Feb 27, 2026 at 09:08:46PM +0100, David Hildenbrand (Arm) wrote:
> zap_vma_ptes() is the only zapping function we export to modules.
> 
> It's essentially a wrapper around zap_vma_range(), however, with some
> safety checks:
> * That the passed range fits fully into the VMA
> * That it's only used for VM_PFNMAP
> 
> We might want to support VM_MIXEDMAP soon as well, so use the
> more-generic term "special vma", although "special" is a bit overloaded.
> Maybe we'll later just support any VM_SPECIAL flag.
> 
> While at it, improve the kerneldoc.
> 
> Signed-off-by: David Hildenbrand (Arm) <[email-masked]>
> ---
>  arch/x86/kernel/cpu/sgx/encl.c        |  2 +-
>  drivers/comedi/comedi_fops.c          |  2 +-
>  drivers/gpu/drm/i915/i915_mm.c        |  4 ++--
>  drivers/infiniband/core/uverbs_main.c |  6 +++---
>  drivers/misc/sgi-gru/grumain.c        |  2 +-
>  include/linux/mm.h                    |  2 +-
>  mm/memory.c                           | 16 +++++++---------
>  7 files changed, 16 insertions(+), 18 deletions(-)

Thanks,
Acked-by: Leon Romanovsky <[email-masked]> # drivers/infiniband