Re: [PATCH v3] sched/stats: Fix rt/dl task's sched latency statistics error in sched_stat_wait trace_point

From: Junwen Wu
Date: Wed Jan 10 2024 - 08:15:15 EST


>This error happens when the rt task balances off the source CPU because
>the dequeue operation is not updating the sched_statistics. So, follow
>update_stats_wait_end_fair() and update the stats. Do the same for
>SCHED_DEADLINE.

>[ feel free to change ]

ok


>> + /*
>> + * Mark the end of the wait period
>> + * if dequeueing a waiting task.
>> + */
>make this a single line comment.
ok
--
Best regards