SuccessChanges

Summary

  1. gather-topology: gather cgroup2 mount point (details)
  2. linux: use /proc/<pid>/cpuset before proc/<pid>/cgroup (details)
  3. linux: prepare /proc/<pid>/cgroup parsing for cgroups v2 (details)
  4. linux: cleanup the switching between cgroup1 and cpuset mount points (details)
  5. linux: add support for cgroup v2 (details)
  6. tests/linux: add a non-cpuset cgroup2 to (details)
  7. tests/linux: change 32amd64-4s2n4c-cgroup to cgroup2 (details)
Commit ba7ee723b012a1d63f4f34963699eda8032354ba by brice.goglin
gather-topology: gather cgroup2 mount point
Signed-off-by: Brice Goglin <Brice.Goglin@inria.fr>
The file was modifiedutils/hwloc/hwloc-gather-topology.in (diff)
Commit 7e168d3b8b4b30edbcfa42de5254074c40f4ac09 by brice.goglin
linux: use /proc/<pid>/cpuset before proc/<pid>/cgroup
cgroup is much harder to parse, and even worse with cgroups v2, use
cpuset whenever possible.
Signed-off-by: Brice Goglin <Brice.Goglin@inria.fr>
The file was modifiedhwloc/topology-linux.c (diff)
Commit b2fe3929cbb7af0da744e76128b4618de97572db by brice.goglin
linux: prepare /proc/<pid>/cgroup parsing for cgroups v2
Signed-off-by: Brice Goglin <Brice.Goglin@inria.fr>
The file was modifiedhwloc/topology-linux.c (diff)
Commit 4d49d023de16235e38c40eb8dc25aff8530e52bb by brice.goglin
linux: cleanup the switching between cgroup1 and cpuset mount points
Signed-off-by: Brice Goglin <Brice.Goglin@inria.fr>
The file was modifiedhwloc/topology-linux.c (diff)
Commit bc9f1ffa2889e46e7391420787276ff03f3967b8 by brice.goglin
linux: add support for cgroup v2
v2 cgroups use a unified hierarchy for all controllers, where a parent
can restrict to something different than a child. We must use the
"effective" cpus and mems masks to get the actual intersection of all
restrictions.
v1 and v2 cgroups may coexist, we check the v2 controllers to see if
"cpuset" is enabled there, or look for v1 with a cpuset options, or for
the old "cpuset" alias.
Signed-off-by: Brice Goglin <Brice.Goglin@inria.fr>
The file was modifiedhwloc/topology-linux.c (diff)
The file was modifiedNEWS (diff)
Commit 6c6bbc8d7b723e11551a669635df2af4b1f53ce6 by brice.goglin
tests/linux: add a non-cpuset cgroup2 to
16amd64-4n4c-cgroup-distance-merge
Signed-off-by: Brice Goglin <Brice.Goglin@inria.fr>
The file was modifiedtests/hwloc/linux/16amd64-4n4c-cgroup-distance-merge.tar.bz2 (diff)
Commit dbb8ded3c5df4110937d722467612463a93c027a by brice.goglin
tests/linux: change 32amd64-4s2n4c-cgroup to cgroup2
Signed-off-by: Brice Goglin <Brice.Goglin@inria.fr>
The file was addedtests/hwloc/linux/32amd64-4s2n4c-cgroup2.xml.options
The file was addedtests/hwloc/linux/32amd64-4s2n4c-cgroup2.xml.output
The file was addedtests/hwloc/linux/32amd64-4s2n4c-cgroup2.xml.source
The file was removedtests/hwloc/linux/32amd64-4s2n4c-cgroup.tar.bz2
The file was removedtests/hwloc/linux/32amd64-4s2n4c-cgroup.output
The file was addedtests/hwloc/linux/32amd64-4s2n4c-cgroup2.output
The file was modifiedtests/hwloc/linux/Makefile.am (diff)
The file was removedtests/hwloc/linux/32amd64-4s2n4c-cgroup.xml.source
The file was addedtests/hwloc/linux/32amd64-4s2n4c-cgroup2.tar.bz2
The file was removedtests/hwloc/linux/32amd64-4s2n4c-cgroup.xml.options
The file was removedtests/hwloc/linux/32amd64-4s2n4c-cgroup.xml.output