diff options
| author | Wanwu Li <liwanwu@kylinos.cn> | 2026-08-27 16:07:37 +0800 |
|---|---|---|
| committer | Tejun Heo <tj@kernel.org> | 2026-08-31 06:47:33 -1000 |
| commit | b6ee92d7f7f0498d1f776d0b125a2f6bcedf0891 (patch) | |
| tree | 9d2603b436109bd2489c45469215055cc70712cf /include/linux | |
| parent | 23761359861ca4bb087540937dfea8b0716914c2 (diff) | |
sched_ext: Fix vtime delta loss in scx_flatcg cgroup migration
fcg_cgroup_move() lost the signed vtime offset across cgroup
migration in the mechanical conversion to time helpers:
time_delta() clamps negative deltas to 0, so a queued task (whose
dsq_vtime is normally behind the source frontier) loses its
accumulated vtime credit and lands exactly at the destination
frontier instead of keeping its relative position. Restore the
wrapping signed subtraction.
Fixes: 62addc6dbf36 ("sched_ext: Use time helpers in BPF schedulers")
Signed-off-by: Wanwu Li <liwanwu@kylinos.cn>
Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
