Revert "[9820] sched: core: fix bug that rt could not be binded to little"
authorJohnlay Park <jonglae.park@samsung.com>
Thu, 5 Apr 2018 11:56:20 +0000 (20:56 +0900)
committerChungwoo Park <cww.park@samsung.com>
Mon, 21 May 2018 08:35:37 +0000 (17:35 +0900)
This reverts commit 5933bc155713c86efe99c096ca7ff7421ca53f46

Change-Id: Ib4d852432562747b74472f2dd2c32abd8ea5d4f3

kernel/sched/core.c

index c5a151148b01e01573a26d94c94e667505226718..bc0339a4a4dd569cd52bb77c1b90de2e54349848 100644 (file)
@@ -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: */