[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAMZfGtXPS1SOKC2AnNEmcVqtsVgX6Vmm++FfjcFrZyLAAJ369g@mail.gmail.com>
Date: Wed, 2 Mar 2022 17:04:15 +0800
From: Muchun Song <songmuchun@...edance.com>
To: Miaohe Lin <linmiaohe@...wei.com>
Cc: Andrew Morton <akpm@...ux-foundation.org>,
Matthew Wilcox <willy@...radead.org>,
Yang Shi <shy828301@...il.com>, william.kucharski@...cle.com,
Hugh Dickins <hughd@...gle.com>, Peter Xu <peterx@...hat.com>,
Linux Memory Management List <linux-mm@...ck.org>,
LKML <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] mm/huge_memory: make is_transparent_hugepage() static
On Wed, Mar 2, 2022 at 4:22 PM Miaohe Lin <linmiaohe@...wei.com> 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 <linmiaohe@...wei.com>
Reviewed-by: Muchun Song <songmuchun@...edance.com>
Thanks.
Powered by blists - more mailing lists