summaryrefslogtreecommitdiff
path: root/kernel/sched/rt.c
diff options
context:
space:
mode:
authorLin Shengwang <linshengwang1@huawei.com>2022-10-08 05:27:09 +0300
committerPeter Zijlstra <peterz@infradead.org>2022-10-17 17:41:24 +0300
commite705968dd687574b6ca3ebe772683d5642759132 (patch)
treeb00cd4431ae1833323ab15ac6cb66af29483cb14 /kernel/sched/rt.c
parent9abf2313adc1ca1b6180c508c25f22f9395cc780 (diff)
downloadlinux-e705968dd687574b6ca3ebe772683d5642759132.tar.xz
sched/core: Fix comparison in sched_group_cookie_match()
In commit 97886d9dcd86 ("sched: Migration changes for core scheduling"), sched_group_cookie_match() was added to help determine if a cookie matches the core state. However, while it iterates the SMT group, it fails to actually use the RQ for each of the CPUs iterated, use cpu_rq(cpu) instead of rq to fix things. Fixes: 97886d9dcd86 ("sched: Migration changes for core scheduling") Signed-off-by: Lin Shengwang <linshengwang1@huawei.com> Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Link: https://lkml.kernel.org/r/20221008022709.642-1-linshengwang1@huawei.com
Diffstat (limited to 'kernel/sched/rt.c')
0 files changed, 0 insertions, 0 deletions