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

Commit ccf165d8 authored by Satya Durga Srinivasu Prabhala's avatar Satya Durga Srinivasu Prabhala Committed by Gerrit - the friendly Code Review server
Browse files

sched/core: Keep rq online after cpu isolation



Earlier this same change was introduced in 'commit a5e669b8
("sched/core: Keep rq online after cpu isolation")', but, later
'commit 78af2bab ("sched: Fix race condition with active balance")'
removed parts of code while addressing merge conflicts.
Bringing in removed code as part of this change to fix placement
issues being observed.

Change-Id: I5a13a7381f7441de139784c7f2939a7954dab85d
Signed-off-by: default avatarSatya Durga Srinivasu Prabhala <satyap@codeaurora.org>
parent d2560a26
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -5819,6 +5819,9 @@ int do_isolation_work_cpu_stop(void *data)
	}

	migrate_tasks(rq, &rf, false);

	if (rq->rd)
		set_rq_online(rq);
	raw_spin_unlock(&rq->lock);

	clear_walt_request(cpu);