From: Michael Holzheu Date: Thu, 13 Aug 2015 08:35:11 +0000 (+0200) Subject: s390/numa: re-add DIE sched_domain_topology_level X-Git-Tag: omap-for-v4.3/fixes-merge-window~38^2~15 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c0e5ddab6e985c83714b31a88098e76c39ff084a;p=pandora-kernel.git s390/numa: re-add DIE sched_domain_topology_level By accident this level has been removed by the NUMA infrastructure patch. For non-NUMA systems with CPUs that span more than one book, this makes the scheduler only use one of the books and the other books remain idle. Fix this and re-add the missing level. For NUMA and non-NUMA we have the following scheduling domains and groups: - SMT (Groups: CPU threads) - MC (Groups: Cores) - BOOK (Groups: Books) For the non-NUMA case we have one last level scheduling domain: - DIE (Groups: Whole system, has all CPUs -> cpu_cpu_mask) For the NUMA case we have the following two last level scheduling domains: - DIE (Groups: NUMA nodes -> cpu_cpu_mask -> returns node siblings) - NUMA (Groups: Whole system, has all CPUs -> created in sched_init_numa()) Fixes: e8054b654bf5 ("s390/numa: add topology tree infrastructure") Reported-and-tested-by: Evgeny Cherkashin Signed-off-by: Michael Holzheu Acked-by: Heiko Carstens Signed-off-by: Martin Schwidefsky --- Reading git-diff-tree failed