diff --git a/kernel/sched/topology.c b/kernel/sched/topology.c index 3d50ee38b8fb9cfad86e4b8693bc4e6c43e129de..81c82031ed9575a06c46ef837bd7e95ec78ebd94 100644 --- a/kernel/sched/topology.c +++ b/kernel/sched/topology.c @@ -93,6 +93,12 @@ static int sched_domain_debug_one(struct sched_domain *sd, int cpu, int level, group->sgc->capacity); } + if (group == sd->groups && sd->child && + !cpumask_equal(sched_domain_span(sd->child), + sched_group_cpus(group))) { + printk(KERN_ERR "ERROR: domain->groups does not match domain->child\n"); + } + group = group->next; if (group != sd->groups)