mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-07 12:25:00 -04:00
Merge "sched:/fair: check cpu_allowed mask when find target"
This commit is contained in:
commit
da89633622
1 changed files with 3 additions and 0 deletions
3
kernel/sched/fair.c
Executable file → Normal file
3
kernel/sched/fair.c
Executable file → Normal file
|
|
@ -6594,6 +6594,9 @@ static void walt_find_best_target(struct sched_domain *sd, cpumask_t *cpus,
|
|||
long spare_cap;
|
||||
int idle_idx = INT_MAX;
|
||||
|
||||
if (!cpumask_test_cpu(i, &p->cpus_mask))
|
||||
continue;
|
||||
|
||||
trace_sched_cpu_util(i);
|
||||
|
||||
if (!cpu_active(i) || cpu_isolated(i))
|
||||
|
|
|
|||
Loading…
Reference in a new issue