From: Johnlay Park Date: Thu, 5 Apr 2018 11:56:20 +0000 (+0900) Subject: Revert "[9820] sched: core: fix bug that rt could not be binded to little" X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=1d79ec2a16add5dcd267271ad09c28a4d234daa2;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git Revert "[9820] sched: core: fix bug that rt could not be binded to little" This reverts commit 5933bc155713c86efe99c096ca7ff7421ca53f46 Change-Id: Ib4d852432562747b74472f2dd2c32abd8ea5d4f3 --- diff --git a/kernel/sched/core.c b/kernel/sched/core.c index c5a151148b01..bc0339a4a4dd 100644 --- a/kernel/sched/core.c +++ b/kernel/sched/core.c @@ -4293,15 +4293,6 @@ change: if (running) set_curr_task(rq, p); - if (p->sched_class == &rt_sched_class) { - struct cpumask mask; - - cpumask_andnot(&mask, &p->cpus_allowed, cpu_coregroup_mask(4)); - cpumask_andnot(&mask, &p->cpus_allowed, cpu_coregroup_mask(6)); - if (!cpumask_empty(&mask)) - do_set_cpus_allowed(p, &mask); - } - check_class_changed(rq, p, prev_class, oldprio); /* Avoid rq from going away on us: */