sched/topology: Verify the first group matches the child domain
authorPeter Zijlstra <peterz@infradead.org>
Fri, 14 Apr 2017 16:20:48 +0000 (18:20 +0200)
committerIngo Molnar <mingo@kernel.org>
Mon, 15 May 2017 08:15:26 +0000 (10:15 +0200)
commita420b0630362c2c451060e6187e36d72df827134
treeff192d640c344446ca1a90bc2cb7c843007540cb
parentb0151c25548cacc50771a7930475727c6c8ee869
sched/topology: Verify the first group matches the child domain

We want sched_groups to be sibling child domains (or individual CPUs
when there are no child domains). Furthermore, since the first group
of a domain should include the CPU of that domain, the first group of
each domain should match the child domain.

Verify this is indeed so.

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>
kernel/sched/topology.c