Re: [PATCH 2/4] sched/isolation: clean up housekeeping_cpu

From: Alex Shi
Date: Thu Apr 10 2025 - 21:00:20 EST


Frederic Weisbecker <frederic@xxxxxxxxxx> 于2025年4月10日周四 21:20写道:
>
> Le Thu, Apr 10, 2025 at 05:24:17PM +0800, alexs@xxxxxxxxxx a écrit :
> > From: Alex Shi <alexs@xxxxxxxxxx>
> >
> > housekeeping_test_cpu will check 'housekeeping_overridden' again in
> > itself so we don't need do it again outside. just call
> > housekeeping_test_cpu is fine.
>
> The point is to do it in the headers, so there is no function
> call in the off case.

Thanks for comments, Frederic,
But the function is 'inline', and further more, the
CONFIG_CPU_ISOLATION is in defconfig
and most of puplar popular Linux vendor. So it still be compiled.

Thanks