Re: [PATCH v2 sched_ext/for-7.3 27/36] sched_ext: Route task slice writes through set_task_slice()

From: Tejun Heo

Date: Mon Jul 06 2026 - 19:41:03 EST


Hi Andrea,

On Mon, 6 Jul 2026 11:10:32 +0200, Andrea Righi wrote:
> nit: maybe we should say all "BPF-triggered writes to p->scx.slice", or
> something along these lines, just for clarity, update_curr_scx() still
> decrements curr->scx.slice directly.

Good point - reworded for v3. Both the comment and the changelog now say
the BPF-triggered writes route through set_task_slice(), and note that
update_curr_scx() decrements curr->scx.slice directly.

Thanks.