From: Tejun Heo <tj@kernel.org>
To: Henry Huang <henry.hj@antgroup.com>
Cc: void@manifault.com, 谈鉴锋 <henry.tjf@antgroup.com>,
"Yan Yan(cailing)" <yanyan.yan@antgroup.com>,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH v1] sched_ext: initialize kit->cursor.flags
Date: Tue, 24 Dec 2024 10:56:54 -1000 [thread overview]
Message-ID: <Z2sgFnmLk74l1-p1@slm.duckdns.org> (raw)
In-Reply-To: <20241222154316.67077-2-henry.hj@antgroup.com>
On Sun, Dec 22, 2024 at 11:43:16PM +0800, Henry Huang wrote:
> struct bpf_iter_scx_dsq *it maybe not initialized.
> If we didn't call scx_bpf_dsq_move_set_vtime and scx_bpf_dsq_move_set_slice
> before scx_bpf_dsq_move, it would cause unexpected behaviors:
> 1. Assign a huge slice into p->scx.slice
> 2. Assign a invalid vtime into p->scx.dsq_vtime
>
> Signed-off-by: Henry Huang <henry.hj@antgroup.com>
Applied to sched_ext/for-6.13-fixes w/ Fixes tag and stable cc added.
Thanks.
--
tejun
prev parent reply other threads:[~2024-12-24 20:56 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-12-22 15:43 Henry Huang
2024-12-22 15:43 ` Henry Huang
2024-12-24 20: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=Z2sgFnmLk74l1-p1@slm.duckdns.org \
--to=tj@kernel.org \
--cc=henry.hj@antgroup.com \
--cc=henry.tjf@antgroup.com \
--cc=linux-kernel@vger.kernel.org \
--cc=void@manifault.com \
--cc=yanyan.yan@antgroup.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®