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

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

Merge "sched/fair: Add rcu_read_lock() call in update_runtime_enabled()"

parents 5dd50467 7219d9a5
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -5127,6 +5127,8 @@ static void __maybe_unused update_runtime_enabled(struct rq *rq)
	struct task_group *tg;

	lockdep_assert_held(&rq->lock);

	rcu_read_lock();
	list_for_each_entry_rcu(tg, &task_groups, list) {
		struct cfs_bandwidth *cfs_b = &tg->cfs_bandwidth;
		struct cfs_rq *cfs_rq = tg->cfs_rq[cpu_of(rq)];