[PATCH v3 06/40] mm: make map_kernel_pages_[prepare,complete] internal and unexported

Suren Baghdasaryan surenb at google.com
Fri Sep 25 00:35:33 PDT 2026


On Thu, Sep 24, 2026 at 12:30 PM Zi Yan <ziy at nvidia.com> wrote:
>
> On Thu Sep 17, 2026 at 12:22 PM EDT, Lorenzo Stoakes (ARM) wrote:
> > There's no reason to export the symbols for these functions which are only
> > called from internal mm logic, additionally there's no reason for them to
> > be declared in mm.h.
> >
> > This patch therefore removes the exports and moves the declarations to
> > mm/internal.h.
> >
> > No functional change intended.
> >
> > Signed-off-by: Lorenzo Stoakes (ARM) <ljs at kernel.org>
> > ---
> >  include/linux/mm.h | 3 ---
> >  mm/internal.h      | 3 +++
> >  mm/memory.c        | 2 --
> >  3 files changed, 3 insertions(+), 5 deletions(-)
> >
>
> Makse sense.
>
> 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