Re: [PATCH 05/12] sched_ext: Fix ops.running/stopping() pairing for proxy-exec donors
Tejun Heo <[email protected]> Wed, 22 Jul 2026 13:26:03 -1000
| Newsgroups | dev.linux.lists.sched-ext,org.kernel.vger.linux-kernel |
|---|---|
| Message-ID | <[email protected]> |
Hello, Andrea.
On Tue, Jul 21, 2026 at 08:31:26AM +0200, Andrea Righi wrote:
> SCX_TASK_SUB_INIT = 1 << 4, /* task being initialized for a sub sched */
> SCX_TASK_IMMED = 1 << 5, /* task is on local DSQ with %SCX_ENQ_IMMED */
>
> + SCX_TASK_RUN_TRACKED = 1 << 6, /* task is in an ops.running()/stopping() session */
> +
> /*
> * Bits 8 to 10 are used to carry task state:
Please drop the blank line above the new entry.
> + if (task_current(rq, p) &&
> + (p->scx.flags & SCX_TASK_RUN_TRACKED)) {
The condition fits on one line, ditto the one in put_prev_task_scx().
Thanks.
--
tejun