Loading kernel/sched/fair.c +2 −1 Original line number Diff line number Diff line Loading @@ -10568,6 +10568,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 @@ -10800,6 +10801,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 @@ -10810,7 +10812,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 @@ -10568,6 +10568,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 @@ -10800,6 +10801,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 @@ -10810,7 +10812,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