diff options
author | 2024-09-26 18:39:49 +0800 | |
---|---|---|
committer | 2024-09-27 10:23:45 -1000 | |
commit | 95b873693a0841e02b812e693296a884362fdd51 (patch) | |
tree | a2be2f1a1b2f241335541d33fdadf667a5d17930 /scripts/module-common.c | |
parent | sched_ext: Decouple locks in scx_ops_enable() (diff) | |
download | wireguard-linux-95b873693a0841e02b812e693296a884362fdd51.tar.xz wireguard-linux-95b873693a0841e02b812e693296a884362fdd51.zip |
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 <zhangqiao22@huawei.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'scripts/module-common.c')
0 files changed, 0 insertions, 0 deletions