+19
−15
Loading
Factor out local_dsq_post_enq() which performs post-enqueue handling for local DSQs - triggering resched_curr() if SCX_ENQ_PREEMPT is specified or if the current CPU is idle. No functional change. This will be used by the next patch to fix move_local_task_to_local_dsq(). Cc: stable@vger.kernel.org # v6.12+ Reviewed-by:Andrea Righi <arighi@nvidia.com> Reviewed-by:
Emil Tsalapatis <emil@etsalapatis.com> Signed-off-by:
Tejun Heo <tj@kernel.org>