[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <Z9MRCY0DwYrZOpkD@slm.duckdns.org>
Date: Thu, 13 Mar 2025 07:08:25 -1000
From: Tejun Heo <tj@...nel.org>
To: Andrea Righi <arighi@...dia.com>
Cc: David Vernet <void@...ifault.com>, Changwoo Min <changwoo@...lia.com>,
Joel Fernandes <joelagnelf@...dia.com>,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] sched_ext: Skip per-CPU tasks in
scx_bpf_reenqueue_local()
On Thu, Mar 13, 2025 at 06:03:21PM +0100, Andrea Righi wrote:
> scx_bpf_reenqueue_local() can be invoked from ops.cpu_release() to give
> tasks that are queued to the local DSQ a chance to migrate to other
> CPUs, when a CPU is taken by a higher scheduling class.
>
> However, there is no point re-enqueuing tasks that can only run on that
> particular CPU, as they would simply be re-added to the same local DSQ
> without any benefit.
>
> Therefore, skip per-CPU tasks in scx_bpf_reenqueue_local().
>
> Signed-off-by: Andrea Righi <arighi@...dia.com>
Applied to sched_ext/for-6.15.
Thanks.
--
tejun
Powered by blists - more mailing lists