mirror of
https://github.com/torvalds/linux.git
synced 2025-08-15 14:11:42 +02:00
sched/topology: Remove FORCE_SD_OVERLAP
Its an obsolete debug mechanism and future code wants to rely on properties this undermines. Namely, it would be good to assume that SD_OVERLAP domains have children, but if we build the entire hierarchy with SD_OVERLAP this is obviously false. Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Cc: Linus Torvalds <torvalds@linux-foundation.org> Cc: Mike Galbraith <efault@gmx.de> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Thomas Gleixner <tglx@linutronix.de> Cc: linux-kernel@vger.kernel.org Signed-off-by: Ingo Molnar <mingo@kernel.org>
This commit is contained in:
parent
c20e1ea4b6
commit
af85596c74
2 changed files with 1 additions and 2 deletions
|
@ -76,7 +76,6 @@ SCHED_FEAT(WARN_DOUBLE_CLOCK, false)
|
||||||
SCHED_FEAT(RT_PUSH_IPI, true)
|
SCHED_FEAT(RT_PUSH_IPI, true)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
SCHED_FEAT(FORCE_SD_OVERLAP, false)
|
|
||||||
SCHED_FEAT(RT_RUNTIME_SHARE, true)
|
SCHED_FEAT(RT_RUNTIME_SHARE, true)
|
||||||
SCHED_FEAT(LB_MIN, false)
|
SCHED_FEAT(LB_MIN, false)
|
||||||
SCHED_FEAT(ATTACH_AGE_LOAD, true)
|
SCHED_FEAT(ATTACH_AGE_LOAD, true)
|
||||||
|
|
|
@ -1439,7 +1439,7 @@ build_sched_domains(const struct cpumask *cpu_map, struct sched_domain_attr *att
|
||||||
sd = build_sched_domain(tl, cpu_map, attr, sd, i);
|
sd = build_sched_domain(tl, cpu_map, attr, sd, i);
|
||||||
if (tl == sched_domain_topology)
|
if (tl == sched_domain_topology)
|
||||||
*per_cpu_ptr(d.sd, i) = sd;
|
*per_cpu_ptr(d.sd, i) = sd;
|
||||||
if (tl->flags & SDTL_OVERLAP || sched_feat(FORCE_SD_OVERLAP))
|
if (tl->flags & SDTL_OVERLAP)
|
||||||
sd->flags |= SD_OVERLAP;
|
sd->flags |= SD_OVERLAP;
|
||||||
if (cpumask_equal(cpu_map, sched_domain_span(sd)))
|
if (cpumask_equal(cpu_map, sched_domain_span(sd)))
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue