[PATCH v3 07/40] mm/vma: tidy up map kernel pages enum values

Zi Yan ziy at nvidia.com
Thu Sep 24 12:30:53 PDT 2026


On Thu Sep 17, 2026 at 12:22 PM EDT, Lorenzo Stoakes (ARM) wrote:
> MMAP_MAP_KERNEL_PAGES is a mouthful, discard the MAP_ as that's implied by
> MMAP.
>
> Also while we're here delete useless comments for mmap actions whose names
> clearly indicate what they are for.
>
> Also update the userland VMA tests to reflect this change.
>
> No functional change intended.
>
> Signed-off-by: Lorenzo Stoakes (ARM) <ljs at kernel.org>
> ---
>  include/linux/mm.h              | 2 +-
>  include/linux/mm_types.h        | 8 ++++----
>  mm/util.c                       | 8 ++++----
>  tools/testing/vma/include/dup.h | 8 ++++----
>  4 files changed, 13 insertions(+), 13 deletions(-)
>
LGTM.

Reviewed-by: Zi Yan <ziy at nvidia.com>

-- 
Best Regards,
Yan, Zi




More information about the linux-riscv mailing list