SuccessChanges

Summary

  1. restrict: reorder children when modified (details)
  2. tests/restrict: check that we reorder properly when needed (details)
  3. lstopo: fix --children-order parsing (details)
  4. synthetic: initialize a level arity when it's entirely ready (details)
  5. tests/restrict: fix a synthetic description (details)
Commit a0cf079b4c7fe98dee5496fc658ddbaeadf458ec by brice.goglin
restrict: reorder children when modified
If we first bit of the cpuset of some children increases during
restrict(), these children might become out-of-order.
Example:
Core P#0
   PU P#0
   PU P#2
Core P#1
   PU P#1
   PU P#3 If restrict() removes PU P#0, Cores must be swapped because
of their updated cpusets.
In v2.x, reordering might also be needed for memory children but it's
so unlikely and harmless that we don't do it yet.
Signed-off-by: Brice Goglin <Brice.Goglin@inria.fr>
The file was modifiedhwloc/topology.c (diff)
Commit 03ac9b28b4882abb2dd12247ce37b97a103db6c9 by brice.goglin
tests/restrict: check that we reorder properly when needed
Signed-off-by: Brice Goglin <Brice.Goglin@inria.fr>
The file was modifiedtests/hwloc/hwloc_topology_restrict.c (diff)
Commit e2e7cfb7a4f15292cf85c076bb44eb0a52484f46 by brice.goglin
lstopo: fix --children-order parsing
It was removed from "layout" to "order" right before push, and actually
broke there.
Signed-off-by: Brice Goglin <Brice.Goglin@inria.fr>
The file was modifiedNEWS (diff)
The file was modifiedutils/lstopo/lstopo.c (diff)
Commit 0a06499b5de9dee405872f2a24225d61b548938c by brice.goglin
synthetic: initialize a level arity when it's entirely ready
arity=0 is used as a marker for the end of the array of synthetic
levels, so only initialize it to > 0 when everything else is ready in
the level structure.
Signed-off-by: Brice Goglin <Brice.Goglin@inria.fr>
The file was modifiedhwloc/topology-synthetic.c (diff)
Commit fb759f215a06da802b22b7d71690c63430f5abab by brice.goglin
tests/restrict: fix a synthetic description
Introduced in 03ac9b28b4882abb2dd12247ce37b97a103db6c9
Signed-off-by: Brice Goglin <Brice.Goglin@inria.fr>
The file was modifiedtests/hwloc/hwloc_topology_restrict.c (diff)