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

Suren Baghdasaryan surenb at google.com
Fri Sep 25 00:37:26 PDT 2026


On Thu, Sep 24, 2026 at 12:31 PM Zi Yan <ziy at nvidia.com> wrote:
>
> 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>

Reviewed-by: Suren Baghdasaryan <surenb at google.com>

>
> --
> Best Regards,
> Yan, Zi
>



More information about the kvm-riscv mailing list