mirror of
https://github.com/torvalds/linux.git
synced 2026-07-31 11:37:06 +02:00
sched/walt: Improve the scheduler
This change is for general scheduler improvement. Change-Id: I9a94b20b18bf5b78946fd26d3337f5227d735e03 Signed-off-by: Satya Durga Srinivasu Prabhala <satyap@codeaurora.org>
This commit is contained in:
parent
fafe5c1f61
commit
42aab9f364
|
|
@ -60,7 +60,8 @@ static int walt_lb_active_migration(void *data)
|
|||
if (task_on_rq_queued(push_task) &&
|
||||
push_task->state == TASK_RUNNING &&
|
||||
task_cpu(push_task) == busiest_cpu &&
|
||||
cpu_active(target_cpu)) {
|
||||
cpu_active(target_cpu) &&
|
||||
cpumask_test_cpu(target_cpu, push_task->cpus_ptr)) {
|
||||
walt_detach_task(push_task, busiest_rq, target_rq);
|
||||
push_task_detached = 1;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user