Re: [PATCH 5/6] sched_ext: Improve comment on idle_sched_class exception in scx_task_iter_next_locked()

David Vernet
2024-08-05T19:50:13Z

[-- Attachment #1: Type: text/plain, Size: 493 bytes --]

On Sat, Aug 03, 2024 at 04:40:12PM -1000, Tejun Heo wrote:
> scx_task_iter_next_locked() skips tasks whose sched_class is
> idle_sched_class. While it has a short comment explaining why it's testing
> the sched_class directly isntead of using is_idle_task(), the comment
> doesn't sufficiently explain what's going on and why. Improve the comment.
>
> Signed-off-by: Tejun Heo <tj@kernel.org>
> Cc: Peter Zijlstra <peterz@infradead.org>

Acked-by: David Vernet <void@manifault.com>

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]