Re: [PATCH v2 2/3] sched: make migrate_enable/migrate_disable inline
From: Jani Nikula
Date: Tue Aug 19 2025 - 08:52:21 EST
On Tue, 19 Aug 2025, Peter Zijlstra <peterz@xxxxxxxxxxxxx> wrote:
>> +EXPORT_SYMBOL_GPL(runqueues);
>
> Oh no, absolutely not.
>
> You never, ever, export a variable, and certainly not this one.
Tangential thought:
I think it would be possible to warn about non-function exports at build
time, and maybe plug it in W=1 builds.
BR,
Jani.
--
Jani Nikula, Intel