Re: [PATCH] sched/idle: Prevent stopping the tick when there is no cpuidle driver

From: Anna-Maria Behnsen
Date: Fri Jan 12 2024 - 05:56:57 EST


Pierre Gondois <pierre.gondois@xxxxxxx> writes:

> Hello Anna-Maria,
>
> On 1/9/24 17:24, Anna-Maria Behnsen wrote:
>>
>> When there is no cpuidle driver, there is no instance which could bring
>> the CPU into a deeper C state. But at the moment the code does
>> unconditionally try to stop the tick. So the aim of the patch is to
>> remove this unconditional stop of the tick.
>
> I agree that the absence of cpuidle driver prevents from reaching deep
> idle states. FWIU, there is however still benefits in stopping the tick
> on such platform.

What's the benefit?

Thanks,

Anna-Maria