Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1632896

[PATCH 06/14] sched/topology,debug: Verify the first group matches the child domain

From Peter Zijlstra <peterz@infradead.org>
Newsgroups linux.kernel
Subject [PATCH 06/14] sched/topology,debug: Verify the first group matches the child domain
Date 2017-04-28 15:40 +0200
Message-ID <tBehR-7VW-55@gated-at.bofh.it> (permalink)
References <tBehP-7VW-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
---
 kernel/sched/topology.c |    6 ++++++
 1 file changed, 6 insertions(+)

--- a/kernel/sched/topology.c
+++ b/kernel/sched/topology.c
@@ -93,6 +93,12 @@ static int sched_domain_debug_one(struct
 				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)

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

[PATCH 06/14] sched/topology,debug: Verify the first group matches the child domain Peter Zijlstra <peterz@infradead.org> - 2017-04-28 15:40 +0200
  Re: [PATCH 06/14] sched/topology,debug: Verify the first group  matches the child domain Rik van Riel <riel@redhat.com> - 2017-05-01 23:20 +0200
    Re: [PATCH 06/14] sched/topology,debug: Verify the first group  matches the child domain Peter Zijlstra <peterz@infradead.org> - 2017-05-02 17:00 +0200
      Re: [PATCH 06/14] sched/topology,debug: Verify the first group  matches the child domain Rik van Riel <riel@redhat.com> - 2017-05-03 17:10 +0200

csiph-web