From: Cheng-Yang Chou <yphbchou0911@gmail.com>
To: Andrea Righi <arighi@nvidia.com>
Cc: sched-ext@lists.linux.dev, tj@kernel.org, void@manifault.com,
changwoo@igalia.com, jserv@ccns.ncku.edu.tw
Subject: Re: [PATCH v2 1/2] sched_ext: Update demo schedulers and selftests to use scx_bpf_task_set_dsq_vtime()
Date: Fri, 13 Mar 2026 09:22:34 +0800 [thread overview]
Message-ID: <abNm2tsm9_2HFOTk@eric-acer> (raw)
In-Reply-To: <abMoyauzdQlqUxz3@gpd4>
On Thu, Mar 12, 2026 at 09:57:45PM +0100, Andrea Righi wrote:
> Hi Cheng-Yang,
>
> On Fri, Mar 13, 2026 at 01:55:26AM +0800, Cheng-Yang Chou wrote:
> > Direct writes to p->scx.dsq_vtime are deprecated in favor of
> > scx_bpf_task_set_dsq_vtime(). Update scx_simple, scx_flatcg, and
> > select_cpu_vtime selftest to use the new kfunc with scale_by_task_weight.
>
> Sorry, that's my mistake, we should use scale_by_task_weight_inverse(), not
> scale_by_task_weight() as I suggested in my previous email.
I didn't notice it either. I'll send a v3 patch!
--
Thanks,
Cheng-Yang
next prev parent reply other threads:[~2026-03-13 1:22 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-03-12 17:55 [PATCH v2 0/2] sched_ext: Update demo schedulers and selftests for deprecated APIs Cheng-Yang Chou
2026-03-12 17:55 ` [PATCH v2 1/2] sched_ext: Update demo schedulers and selftests to use scx_bpf_task_set_dsq_vtime() Cheng-Yang Chou
2026-03-12 20:57 ` Andrea Righi
2026-03-13 1:22 ` Cheng-Yang Chou [this message]
2026-03-12 17:55 ` [PATCH v2 2/2] sched_ext: Update demo schedulers and selftests to drop ops.cpu_acquire/release() Cheng-Yang Chou
2026-03-12 20:58 ` Andrea Righi
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=abNm2tsm9_2HFOTk@eric-acer \
--to=yphbchou0911@gmail.com \
--cc=arighi@nvidia.com \
--cc=changwoo@igalia.com \
--cc=jserv@ccns.ncku.edu.tw \
--cc=sched-ext@lists.linux.dev \
--cc=tj@kernel.org \
--cc=void@manifault.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.