2022-03-02 14:08:56

by Muchun Song

[permalink] [raw]
Subject: Re: [PATCH] mm/huge_memory: make is_transparent_hugepage() static

On Wed, Mar 2, 2022 at 4:22 PM Miaohe Lin <[email protected]> wrote:
>
> It's only used inside the huge_memory.c now. Don't export it and make
> it static. We can thus reduce the size of huge_memory.o a bit.
>
> Without this patch:
> text data bss dec hex filename
> 32319 2965 4 35288 89d8 mm/huge_memory.o
>
> With this patch:
> text data bss dec hex filename
> 32042 2957 4 35003 88bb mm/huge_memory.o
>
> Signed-off-by: Miaohe Lin <[email protected]>

Reviewed-by: Muchun Song <[email protected]>

Thanks.