[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20250319002228.44e220b1ffadb4cc994ad4cf@linux-foundation.org>
Date: Wed, 19 Mar 2025 00:22:28 -0700
From: Andrew Morton <akpm@...ux-foundation.org>
To: marc.herbert@...ux.intel.com
Cc: Muchun Song <muchun.song@...ux.dev>, linux-mm@...ck.org,
linux-kernel@...r.kernel.org, Marc Herbert <Marc.Herbert@...ux.intel.com>
Subject: Re: [PATCH] mm/hugetlb: move hugetlb_sysctl_init() to the __init
section
On Wed, 19 Mar 2025 06:00:30 +0000 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)
>
Huh. I wonder why this just started happening.
Powered by blists - more mailing lists