Loading kernel/sched/fair.c +2 −1 Original line number Diff line number Diff line Loading @@ -10304,6 +10304,7 @@ static int load_balance(int this_cpu, struct rq *this_rq, busiest->active_balance = 1; busiest->push_cpu = this_cpu; active_balance = 1; mark_reserved(this_cpu); } raw_spin_unlock_irqrestore(&busiest->lock, flags); Loading Loading @@ -10628,6 +10629,7 @@ static int active_load_balance_cpu_stop(void *data) busiest_rq->active_balance = 0; push_task = busiest_rq->push_task; target_cpu = busiest_rq->push_cpu; clear_reserved(target_cpu); if (push_task) busiest_rq->push_task = NULL; Loading @@ -10638,7 +10640,6 @@ static int active_load_balance_cpu_stop(void *data) if (push_task_detached) attach_one_task(target_rq, push_task); put_task_struct(push_task); clear_reserved(target_cpu); } if (p) Loading Loading
kernel/sched/fair.c +2 −1 Original line number Diff line number Diff line Loading @@ -10304,6 +10304,7 @@ static int load_balance(int this_cpu, struct rq *this_rq, busiest->active_balance = 1; busiest->push_cpu = this_cpu; active_balance = 1; mark_reserved(this_cpu); } raw_spin_unlock_irqrestore(&busiest->lock, flags); Loading Loading @@ -10628,6 +10629,7 @@ static int active_load_balance_cpu_stop(void *data) busiest_rq->active_balance = 0; push_task = busiest_rq->push_task; target_cpu = busiest_rq->push_cpu; clear_reserved(target_cpu); if (push_task) busiest_rq->push_task = NULL; Loading @@ -10638,7 +10640,6 @@ static int active_load_balance_cpu_stop(void *data) if (push_task_detached) attach_one_task(target_rq, push_task); put_task_struct(push_task); clear_reserved(target_cpu); } if (p) Loading