Re: [PATCH v3 3/4] cpumask: Switch from inline to __always_inline
From: Yury Norov
Date: Sat Aug 03 2024 - 09:21:15 EST
On Fri, Aug 02, 2024 at 02:19:48PM -0700, Brian Norris wrote:
> On Thu, Jul 18, 2024 at 05:50:39PM -0700, Brian Norris wrote:
> > On recent (v6.6+) builds with Clang (based on Clang 18.0.0) and certain
> > configurations [0], I'm finding that (lack of) inlining decisions may
> > lead to section mismatch warnings like the following:
> >
> > WARNING: modpost: vmlinux.o: section mismatch in reference:
> > cpumask_andnot (section: .text) ->
> > cpuhp_bringup_cpus_parallel.tmp_mask (section: .init.data) ERROR:
> > modpost: Section mismatches detected.
> ...
>
> Hi Yury,
>
> I'm wondering if you've had a chance to look at this latest series. I
> believe I refactored it the way you recommended.
Yes, you did. Applied in bitmap-for-next for testing.
Thanks,
Yury