]> Git Repo - linux.git/commit
sched_ext: Remove redundant p->nr_cpus_allowed checker
authorZhang Qiao <[email protected]>
Thu, 26 Sep 2024 10:39:49 +0000 (18:39 +0800)
committerTejun Heo <[email protected]>
Fri, 27 Sep 2024 20:23:45 +0000 (10:23 -1000)
commit95b873693a0841e02b812e693296a884362fdd51
treea2be2f1a1b2f241335541d33fdadf667a5d17930
parentefe231d9debf6db812bebb262407c95b21cdb8a2
sched_ext: Remove redundant p->nr_cpus_allowed checker

select_rq_task() already checked that 'p->nr_cpus_allowed > 1',
'p->nr_cpus_allowed == 1' checker in scx_select_cpu_dfl() is redundant.

Signed-off-by: Zhang Qiao <[email protected]>
Signed-off-by: Tejun Heo <[email protected]>
kernel/sched/ext.c
This page took 0.056257 seconds and 4 git commands to generate.