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

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

Merge "sched/fair: Make sd_overutilized if cpu is overutilized"

parents 2539f883 0839cb4f
Loading
Loading
Loading
Loading
+6 −4
Original line number Diff line number Diff line
@@ -5208,10 +5208,12 @@ static inline void update_overutilized_status(struct rq *rq)

	rcu_read_lock();
	sd = rcu_dereference(rq->sd);
	if (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