Re: [PATCH 4/5] sched/deadline: Don't charge core-sched forced idle to the DL servers
From: Fernand Sieber
Date: Tue Nov 24 2026 - 04:49:05 EST
On Tue, 24 Nov 2026 09:07:37 +0100, Karl Mehltretter wrote:
> When forced idle ends because the sibling's cookied task blocks,
> pick_next_task() clears core_forceidle_count before the idle CPU runs
> update_curr_idle() in put_prev_task_idle().
>
> forced_idle_rq(rq) sees 0 and charges the forced-idle time since
> idle->se.exec_start to the server.
Thanks for the report, Karl.
The fix and a selftest with your pattern are here:
https://lore.kernel.org/all/cover.1795510960.git.sieberf@xxxxxxxxxx/
Thanks,
Fernand
Amazon Development Centre (South Africa) (Proprietary) Limited
29 Gogosoa Street, Observatory, Cape Town, Western Cape, 7925, South Africa
Registration Number: 2004 / 034463 / 07