[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <5358d21e-88e0-4f67-8f54-31da08441456@igalia.com>
Date: Fri, 17 Jan 2025 16:12:47 +0900
From: Changwoo Min <changwoo@...lia.com>
To: Tejun Heo <tj@...nel.org>
Cc: void@...ifault.com, arighi@...dia.com, kernel-dev@...lia.com,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH 4/7] sched_ext: Add an event, SCX_EVENT_ENQ_LOCAL_EXITING
Hello,
On 25. 1. 17. 10:40, Tejun Heo wrote:
> On Fri, Jan 17, 2025 at 12:15:40AM +0900, Changwoo Min wrote:
>> Add a core event, SCX_EVENT_ENQ_LOCAL_EXITING, which represents how many
>> times a task is enqueued to a local DSQ when exiting if SCX_OPS_ENQ_EXITING
>> is not set.
>>
>> Signed-off-by: Changwoo Min <changwoo@...lia.com>
>> ---
>> kernel/sched/ext.c | 12 +++++++++++-
>> 1 file changed, 11 insertions(+), 1 deletion(-)
>>
>> diff --git a/kernel/sched/ext.c b/kernel/sched/ext.c
>> index 909f12a41934..094e19f5fb78 100644
>> --- a/kernel/sched/ext.c
>> +++ b/kernel/sched/ext.c
>> @@ -1479,6 +1479,12 @@ struct scx_event_stat {
>> * continued to run because there were no other tasks on the CPU.
>> */
>> u64 CNTD_RUN_WO_ENQ;
>> +
>> + /*
>> + * If SCX_OPS_ENQ_EXITING is not set, the number of times that a task
>> + * is dispatched to a local DSQ when exiting.
>> + */
>> + u64 ENQ_LOCAL_EXITING;
>
> ENQ_SKIP_EXITING?
Will change it as suggested.
Regards,
Changwoo Min
Powered by blists - more mailing lists