[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <b927d8be-ff66-457b-957d-4c96821bfd84@igalia.com>
Date: Fri, 17 Jan 2025 16:11:10 +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 2/7] sched_ext: Add an event, SCX_EVENT_OFFLINE_LOCAL_DSQ
Hello,
On 25. 1. 17. 10:37, Tejun Heo wrote:
> On Fri, Jan 17, 2025 at 12:15:38AM +0900, Changwoo Min wrote:
> ...
>> diff --git a/kernel/sched/ext.c b/kernel/sched/ext.c
>> index 7e12d5b8322e..8054e4e5ed0c 100644
>> --- a/kernel/sched/ext.c
>> +++ b/kernel/sched/ext.c
>> @@ -1467,6 +1467,12 @@ struct scx_event_stat {
>> * the core scheduler code silently picks a fallback CPU.
>> */
>> u64 INVAL_SELECT_CPU;
>> +
>> + /*
>> + * When dispatching to a local DSQ, the CPU may have gone offline in
>> + * the meantime. In this case, the task is bounced to the global DSQ.
>> + */
>> + u64 OFFLINE_LOCAL_DSQ;
>
> Let's do components in descending order + event:
>
> - SELECT_CPU_INVAL (or SELECT_CPU_FALLBACK)
> - DISPATCH_LOCAL_DSQ_OFFLINE
Sure. Will change it in the next version.
Regards,
Changwoo Min
Powered by blists - more mailing lists