Re: [PATCH v3 06/40] mm: make map_kernel_pages_[prepare,complete] internal and unexported
From: Suren Baghdasaryan
Date: Fri Sep 25 2026 - 03:36:39 EST
On Thu, Sep 24, 2026 at 12:30 PM Zi Yan <ziy@xxxxxxxxxx> 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@xxxxxxxxxx>
> > ---
> > 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@xxxxxxxxxx>
Reviewed-by: Suren Baghdasaryan <surenb@xxxxxxxxxx>
>
> --
> Best Regards,
> Yan, Zi
>