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

From: Junwen Wu
Date: Thu Dec 21 2023 - 09:52:25 EST


>Ah, you are right.
>
>> I this we can use if (p && p != rq->curr) /*Mark the end of the wait period if dequeueing task*/
>
>Agreed.
>
>> because schedstats is not supported for rt group,we only need to update rt_se that is realy task.
>> --
>> Best regards
>>
ok, I send PATCH v2 later
--
Best regards