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

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

Merge "sched/fair: Improve the scheduler"

parents 1275d755 22d004c0
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -9421,7 +9421,8 @@ group_similar_cpu_capacity(struct sched_group *sg, struct sched_group *ref)
	long diff = sg->sgc->min_capacity - ref->sgc->min_capacity;
	long max = max(sg->sgc->min_capacity, ref->sgc->min_capacity);

	return abs(diff) < max >> 3;
	return ((abs(diff) < max >> 3) ||
		asym_cap_siblings(group_first_cpu(sg), group_first_cpu(ref)));
}

static inline enum