All of lore.kernel.org
 help / color / mirror / Atom feed
From: Tejun Heo <tj@kernel.org>
To: Hang Zhengyang <hang.zhengyang1010@gmail.com>
Cc: Hang Zhengyang via B4 Relay
	<devnull+hang.zhengyang1010.gmail.com@kernel.org>,
	David Vernet <void@manifault.com>,
	Andrea Righi <arighi@nvidia.com>,
	Changwoo Min <changwoo@igalia.com>,
	Ingo Molnar <mingo@redhat.com>,
	Peter Zijlstra <peterz@infradead.org>,
	Juri Lelli <juri.lelli@redhat.com>,
	Vincent Guittot <vincent.guittot@linaro.org>,
	Dietmar Eggemann <dietmar.eggemann@arm.com>,
	Steven Rostedt <rostedt@goodmis.org>,
	Ben Segall <bsegall@google.com>, Mel Gorman <mgorman@suse.de>,
	Valentin Schneider <vschneid@redhat.com>,
	K Prateek Nayak <kprateek.nayak@amd.com>,
	Joel Fernandes <joelagnelf@nvidia.com>,
	sched-ext@lists.linux.dev, linux-kernel@vger.kernel.org,
	stable@vger.kernel.org
Subject: Re: [PATCH sched_ext/for-7.4-fixes 2/2] sched_ext: Start ext_server on every enqueue
Date: Tue, 24 Nov 2026 22:56:12 -1000	[thread overview]
Message-ID: <c015ca9271f8c9ab91c9b4394061229e@kernel.org> (raw)
In-Reply-To: <20261123-scx-dlsrv-v1-2-87c342d8246e@gmail.com>

Hello, Hang.

On Mon, Nov 23, 2026 at 02:04:55AM +0800, Hang Zhengyang via B4 Relay wrote:
> This doesn't cover a task that another CPU dispatches to this CPU's
> local DSQ.

This is a known problem and I'm afraid starting ext_server on every
enqueue isn't enough to address it. Which rq a task is enqueued on doesn't
tell which CPU is going to run it, so ext_server can still stay stopped
with tasks waiting for the CPU and no enqueue to start it again. The case
above is one example. With scx_central and a SCHED_FIFO task spinning on a
CPU, a SCHED_EXT task pinned to the same CPU still stalls for over ten
seconds with this patch applied.

I think this needs a different approach. I'll post something for it.

Thanks.

--
tejun

      reply	other threads:[~2026-11-25  8:56 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-22 18:04 [PATCH sched_ext/for-7.4-fixes 0/2] sched_ext: Fix two gaps in dl_server protection against RT starvation Hang Zhengyang via B4 Relay
2026-11-22 18:04 ` Hang Zhengyang
2026-11-22 18:04 ` [PATCH sched_ext/for-7.4-fixes 1/2] sched_ext: Attach fair_server before tasks fall back to fair on disable Hang Zhengyang via B4 Relay
2026-11-22 18:04   ` Hang Zhengyang
2026-11-25  8:57   ` Tejun Heo
2026-11-22 18:04 ` [PATCH sched_ext/for-7.4-fixes 2/2] sched_ext: Start ext_server on every enqueue Hang Zhengyang via B4 Relay
2026-11-22 18:04   ` Hang Zhengyang
2026-11-25  8:56   ` Tejun Heo [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=c015ca9271f8c9ab91c9b4394061229e@kernel.org \
    --to=tj@kernel.org \
    --cc=arighi@nvidia.com \
    --cc=bsegall@google.com \
    --cc=changwoo@igalia.com \
    --cc=devnull+hang.zhengyang1010.gmail.com@kernel.org \
    --cc=dietmar.eggemann@arm.com \
    --cc=hang.zhengyang1010@gmail.com \
    --cc=joelagnelf@nvidia.com \
    --cc=juri.lelli@redhat.com \
    --cc=kprateek.nayak@amd.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mgorman@suse.de \
    --cc=mingo@redhat.com \
    --cc=peterz@infradead.org \
    --cc=rostedt@goodmis.org \
    --cc=sched-ext@lists.linux.dev \
    --cc=stable@vger.kernel.org \
    --cc=vincent.guittot@linaro.org \
    --cc=void@manifault.com \
    --cc=vschneid@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.