Re: [PATCH v3 06/40] mm: make map_kernel_pages_[prepare,complete] internal and unexported
From: Zi Yan
Date: Thu Sep 24 2026 - 15:42:28 EST
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>
--
Best Regards,
Yan, Zi