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

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

Merge "sched: fair: mark parent domain overutilized if !SD_LOAD_BALANCE"

parents fd15c2d0 f5438882
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -5003,9 +5003,10 @@ static inline void update_overutilized_status(struct rq *rq)

	rcu_read_lock();
	sd = rcu_dereference(rq->sd);
	if (sd && !sd_overutilized(sd) &&
	    cpu_overutilized(rq->cpu))
	if (sd && (sd->flags & SD_LOAD_BALANCE))
		set_sd_overutilized(sd);
	else if (sd && sd->parent)
		set_sd_overutilized(sd->parent);
	rcu_read_unlock();
}
#else