[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <2870C104-2F76-4B3A-A4CF-35D6F3C7ACF9@linux.dev>
Date: Wed, 19 Mar 2025 15:44:15 +0800
From: Muchun Song <muchun.song@...ux.dev>
To: marc.herbert@...ux.intel.com
Cc: Andrew Morton <akpm@...ux-foundation.org>,
linux-mm@...ck.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] mm/hugetlb: move hugetlb_sysctl_init() to the __init
section
> On Mar 19, 2025, at 14:00, marc.herbert@...ux.intel.com wrote:
>
> From: Marc Herbert <Marc.Herbert@...ux.intel.com>
>
> hugetlb_sysctl_init() is only invoked once by an __init function and is
> merely a wrapper around another __init function so there is not reason
> to keep it.
>
> Fixes the following warning when toning down some GCC inline options:
>
> WARNING: modpost: vmlinux: section mismatch in reference:
> hugetlb_sysctl_init+0x1b (section: .text) ->
> __register_sysctl_init (section: .init.text)
>
> Signed-off-by: Marc Herbert <Marc.Herbert@...ux.intel.com>
Reviewed-by: Muchun Song <muchun.song@...ux.dev>
Thanks.
Powered by blists - more mailing lists