All of lore.kernel.org
 help / color / mirror / Atom feed
From: Tejun Heo <tj@kernel.org>
To: David Carlier <devnexen@gmail.com>
Cc: sched-ext@lists.linux.dev, linux-kernel@vger.kernel.org,
	changwoo@igalia.com
Subject: Re: [PATCH] tools/sched_ext: Extend the prolog migration probe to cid-form schedulers
Date: Mon, 31 Aug 2026 11:52:39 -1000	[thread overview]
Message-ID: <d6cfdbdd795ef5b4c546fa8eddc6ad23@kernel.org> (raw)
In-Reply-To: <20260829122035.58018-1-devnexen@gmail.com>

Hello,

On Sat, Aug 29, 2026 at 01:20:35PM +0100, David Carlier wrote:
> scx_lib_init_probe hooks bpf_scx_reg(), which is where a cpu-form
> scheduler enters the kernel when its struct_ops link is created. A
> cid-form scheduler comes in elsewhere: bpf_sched_ext_ops_cid points .reg
> at bpf_scx_reg_cid(), a separate function, so the probe never fires and
> the flag it is meant to set keeps whatever it was compiled with.

Let's keep the updates flowing through the scx repo - the kernel copies
are synced from it periodically. Can you apply the changes there? Note
that the default flip already landed there as 888a907d84b5 ("common.bpf.h:
default __scx_prolog_disables_migration to false").

Thanks.

--
tejun

      reply	other threads:[~2026-08-31 21:52 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-08-29 12:20 [PATCH] tools/sched_ext: Extend the prolog migration probe to cid-form schedulers David Carlier
2026-08-31 21:52 ` 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=d6cfdbdd795ef5b4c546fa8eddc6ad23@kernel.org \
    --to=tj@kernel.org \
    --cc=changwoo@igalia.com \
    --cc=devnexen@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=sched-ext@lists.linux.dev \
    /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.