[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <Z2sgFnmLk74l1-p1@slm.duckdns.org>
Date: Tue, 24 Dec 2024 10:56:54 -1000
From: Tejun Heo <tj@...nel.org>
To: Henry Huang <henry.hj@...group.com>
Cc: void@...ifault.com, 谈鉴锋 <henry.tjf@...group.com>,
"Yan Yan(cailing)" <yanyan.yan@...group.com>,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH v1] sched_ext: initialize kit->cursor.flags
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@...group.com>
Applied to sched_ext/for-6.13-fixes w/ Fixes tag and stable cc added.
Thanks.
--
tejun
Powered by blists - more mailing lists