Skip to content

Commit 1be021d

Browse files
committed
sched/fair: fix push_task uninitialized in active_load_balance_cpu_stop
Fixes: a80b8c7 ("sched: Extend active balance to accept 'push_task' argument") Change-Id: I002bd443c1dbb1d63f195f4b8cb7e9998987a6af Signed-off-by: Tao Huang <huangtao@rock-chips.com>
1 parent aaa43b1 commit 1be021d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

kernel/sched/fair.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9358,7 +9358,7 @@ static int active_load_balance_cpu_stop(void *data)
93589358
struct rq *target_rq = cpu_rq(target_cpu);
93599359
struct sched_domain *sd = NULL;
93609360
struct task_struct *p = NULL;
9361-
struct task_struct *push_task;
9361+
struct task_struct *push_task = NULL;
93629362
int push_task_detached = 0;
93639363
struct lb_env env = {
93649364
.sd = sd,

0 commit comments

Comments
 (0)