Re: [PATCH 03/11] sched_ext: Make find_dsq_for_dispatch() handle SCX_DSQ_LOCAL_ON

David Vernet
2024-09-01T00:11:27Z

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

On Fri, Aug 30, 2024 at 01:03:47AM -1000, Tejun Heo wrote:
> find_dsq_for_dispatch() handles all DSQ IDs except SCX_DSQ_LOCAL_ON.
> Instead, each caller is hanlding SCX_DSQ_LOCAL_ON before calling it. Move
> SCX_DSQ_LOCAL_ON lookup into find_dsq_for_dispatch() to remove duplicate
> code in direct_dispatch() and dispatch_to_local_dsq().
>
> No functional changes intended.
>
> Signed-off-by: Tejun Heo <tj@kernel.org>

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

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