Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit fab7895c authored by qctecmdr Service's avatar qctecmdr Service Committed by Gerrit - the friendly Code Review server
Browse files

Merge "sched/core: Fix an ordering issue in wake_up_new_task"

parents 0d81c18b 8ee25ad0
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2581,8 +2581,8 @@ void wake_up_new_task(struct task_struct *p)
	update_rq_clock(rq);
	post_init_entity_util_avg(&p->se);

	activate_task(rq, p, ENQUEUE_NOCLOCK);
	mark_task_starting(p);
	activate_task(rq, p, ENQUEUE_NOCLOCK);

	p->on_rq = TASK_ON_RQ_QUEUED;
	trace_sched_wakeup_new(p);