+9
−1
Loading
Add a comment explaining the design intent behind rejecting built-in DSQs (%SCX_DSQ_GLOBAL and %SCX_DSQ_LOCAL*) as sources. Local DSQs support reenqueueing but the BPF scheduler cannot directly iterate or move tasks from them. %SCX_DSQ_GLOBAL is similar but also doesn't support reenqueueing because it maps to multiple per-node DSQs, making the scope difficult to define. Also annotate @dsq_id to make clear it must be a user-created DSQ. Suggested-by:Tejun Heo <tj@kernel.org> Signed-off-by:
Cheng-Yang Chou <yphbchou0911@gmail.com> Signed-off-by:
Tejun Heo <tj@kernel.org>