[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <aPJlIUF-KkdOdDvM@slm.duckdns.org>
Date: Fri, 17 Oct 2025 05:47:45 -1000
From: Tejun Heo <tj@...nel.org>
To: Andrea Righi <arighi@...dia.com>
Cc: Ingo Molnar <mingo@...hat.com>, Peter Zijlstra <peterz@...radead.org>,
Juri Lelli <juri.lelli@...hat.com>,
Vincent Guittot <vincent.guittot@...aro.org>,
Dietmar Eggemann <dietmar.eggemann@....com>,
Steven Rostedt <rostedt@...dmis.org>,
Ben Segall <bsegall@...gle.com>, Mel Gorman <mgorman@...e.de>,
Valentin Schneider <vschneid@...hat.com>,
Joel Fernandes <joelagnelf@...dia.com>,
David Vernet <void@...ifault.com>,
Changwoo Min <changwoo@...lia.com>, Shuah Khan <shuah@...nel.org>,
sched-ext@...ts.linux.dev, bpf@...r.kernel.org,
linux-kernel@...r.kernel.org,
Luigi De Matteis <ldematteis123@...il.com>
Subject: Re: [PATCH 06/14] sched_ext: Add a DL server for sched_ext tasks
On Fri, Oct 17, 2025 at 11:25:53AM +0200, Andrea Righi wrote:
> +static struct task_struct *
> +ext_server_pick_task(struct sched_dl_entity *dl_se, struct rq_flags *rf)
> +{
> + return pick_task_scx(dl_se->rq, rf);
> +}
I wonder whether we should tell pick_task_scx() to suppress the
rq_modified_above() test in this case as a fair or RT task being enqueued
has no reason to restart the picking process. While it will behave fine on
retry, it's probably useful to be explicit here.
Thanks.
--
tejun
Powered by blists - more mailing lists