SuccessChanges

Summary

  1. linux: get_allowed_resources() shouldn't duplicate the LinuxCgroup info (details)
  2. core: document that get_allowed_resources() may be called twice during (details)
  3. core: return EPERM from topology modifying routines on adopted topology (details)
Commit bea59a8aa3eb6182b22a4f1b88282dff9e0e8665 by brice.goglin
linux: get_allowed_resources() shouldn't duplicate the LinuxCgroup info
attr
The internal hook can be called by the backend, and later again if
THISSYSTEM_ALLOWED_RESOURCES is forced. Replace the existing
LinuxCgroup info attr if any.
Signed-off-by: Brice Goglin <Brice.Goglin@inria.fr>
The file was modifiedhwloc/topology-linux.c (diff)
Commit 9bbe0180daba69bb4ae2c181ddca62e098568ed6 by brice.goglin
core: document that get_allowed_resources() may be called twice during
discovery
Linux/BGQ/Solaris define that hook, use it internally during their own
discover callback(), and then let the core call it again if
THISSYSTEM_ALLOWED_RESOURCES is set in flags or in the environment.
THISSYSTEM_ALLOWED_RESOURCES shouldn't be set when loading from the
native backend, so it's unlikely that this duplicate call is visible in
practice.
Signed-off-by: Brice Goglin <Brice.Goglin@inria.fr>
The file was modifiedhwloc/topology-bgq.c (diff)
The file was modifiedhwloc/topology-solaris.c (diff)
The file was modifiedhwloc/topology-linux.c (diff)
Commit b36238191cc38124d3a1bf8085f170a13e321106 by brice.goglin
core: return EPERM from topology modifying routines on adopted topology
We should also error out when modifying info attributes, but we have no
way to check if the topology is adopted there.
Signed-off-by: Brice Goglin <Brice.Goglin@inria.fr>
The file was modifiedhwloc/diff.c (diff)
The file was modifiedhwloc/distances.c (diff)
The file was modifiedhwloc/topology.c (diff)