SuccessChanges

Summary

  1. linux: don't leak a DIR on failure to list NUMA nodes (details)
  2. bgq: make sure the allowed_set is properly initialized before filling (details)
  3. linux: clarify the semantics of read_fd_as_cpulist() (details)
  4. linux: clarify hwloc_admin_disable_set_from_cpuset() (details)
  5. linux: document why we don't use /sys/devices/system/cpu/kernel_max (details)
  6. linux: use /sys/devices/system/cpu/online when available (details)
  7. linux: use /sys/devices/system/node/possible for memory binding (details)
  8. linux: use /sys/devices/system/node/possible for listing NUMA nodes (details)
  9. linux: fix some scan-build warnings (details)
  10. x86: fix management of failure to reallocate the cache array (details)
  11. x86: clarify how we manage non-unique APIC ids (details)
  12. xml: set import state.global to NULL when it's not used (diff import) (details)
  13. xml/nolibxml: use the right tagname on close (details)
  14. xml/nolibxml: better handle parsing failure at the beginning of XML (details)
  15. xml: fix a leak on failure to import a v1 distance (details)
  16. xml/nolibxml: fix a leak a failure to pass diff headers after refname (details)
Commit e32924c57a8399d09d460f4df3b79037b8271b21 by brice.goglin
linux: don't leak a DIR on failure to list NUMA nodes
Signed-off-by: Brice Goglin <Brice.Goglin@inria.fr>
The file was modifiedhwloc/topology-linux.c (diff)
Commit 563312be779884eb1d358de88b8516fd48cd4738 by brice.goglin
bgq: make sure the allowed_set is properly initialized before filling
it
It worked so far because the core allocates it with alloc_full() but it
could break if we ever call the get_allowed_resources() callback again
later (which may happen in the future API).
Signed-off-by: Brice Goglin <Brice.Goglin@inria.fr>
The file was modifiedhwloc/topology-bgq.c (diff)
Commit dae72d68f8c5694b86b7b3a33f2d56eae8f80140 by brice.goglin
linux: clarify the semantics of read_fd_as_cpulist()
Don't require a full bitmap on input, do it ourself. Specify that
output bitmap is undefined on error.
Signed-off-by: Brice Goglin <Brice.Goglin@inria.fr>
The file was modifiedhwloc/topology-linux.c (diff)
Commit 967ae414c8203ec643a5f9b224a21b86652cdd83 by brice.goglin
linux: clarify hwloc_admin_disable_set_from_cpuset()
Rename variables for clarity. Abstract-out
hwloc__read_path_as_cpulist(). Add some messages.
Signed-off-by: Brice Goglin <Brice.Goglin@inria.fr>
The file was modifiedhwloc/topology-linux.c (diff)
Commit 090c89530b5d2cf9953ec8e4180d63c2b0019fc4 by brice.goglin
linux: document why we don't use /sys/devices/system/cpu/kernel_max
Signed-off-by: Brice Goglin <Brice.Goglin@inria.fr>
The file was modifiedhwloc/topology-linux.c (diff)
Commit 2df3cbcebf09dc60db5920798a78ad1c9024a7df by brice.goglin
linux: use /sys/devices/system/cpu/online when available
It's faster than reading one /sys/devices/system/cpu/cpu%d/online file
per PU.
Also it works when PU#0 is offline, which isn't supposed to happen in
Linux
(there's usually no /sys/devices/system/cpu/cpu0/online) but actually
happens in mOS for now.
Signed-off-by: Brice Goglin <Brice.Goglin@inria.fr>
The file was modifiedtests/hwloc/linux/16amd64-8n2c-cpusets.tar.bz2 (diff)
The file was modifiedhwloc/topology-linux.c (diff)
Commit 4bcd95905b12855b441c75cd81f42366d414af03 by brice.goglin
linux: use /sys/devices/system/node/possible for memory binding
Use this mask to initialize the lookup for get_mempolicy mask required
size.
Signed-off-by: Brice Goglin <Brice.Goglin@inria.fr>
The file was modifiedhwloc/topology-linux.c (diff)
Commit bb6cf1b185a225dfdd0402a32f9e50977a5d2a38 by brice.goglin
linux: use /sys/devices/system/node/possible for listing NUMA nodes
during early discovery
Instead of listing /sys/devices/system/node/ manually first.
By the way, add assertions about the number of nodes.
Signed-off-by: Brice Goglin <Brice.Goglin@inria.fr>
The file was modifiedtests/hwloc/linux/16ia64-8n2s.tar.bz2 (diff)
The file was modifiedhwloc/topology-linux.c (diff)
The file was modifiedtests/hwloc/linux/48amd64-4d2n6c-sparse.tar.bz2 (diff)
Commit 33ce90a1d599af1c618f7729fd312031ed02e358 by brice.goglin
linux: fix some scan-build warnings
Signed-off-by: Brice Goglin <Brice.Goglin@inria.fr>
The file was modifiedhwloc/topology-linux.c (diff)
Commit 93bd05b5ad4efdd29d760ea823ef84f5eef57f9a by brice.goglin
x86: fix management of failure to reallocate the cache array
Signed-off-by: Brice Goglin <Brice.Goglin@inria.fr>
The file was modifiedhwloc/topology-x86.c (diff)
Commit 1ed63cd205fe23660cab6d015c3336856c10a622 by brice.goglin
x86: clarify how we manage non-unique APIC ids
Signed-off-by: Brice Goglin <Brice.Goglin@inria.fr>
The file was modifiedhwloc/topology-x86.c (diff)
Commit b6b27e3bbd830ac060fa7eecb615a9fa93a756eb by brice.goglin
xml: set import state.global to NULL when it's not used (diff import)
Signed-off-by: Brice Goglin <Brice.Goglin@inria.fr>
The file was modifiedhwloc/topology-xml-libxml.c (diff)
The file was modifiedhwloc/topology-xml-nolibxml.c (diff)
Commit 43d700b72decd94c53f054bfbe521724f27884ae by brice.goglin
xml/nolibxml: use the right tagname on close
Not strictly required since the close_tag() callback ignores it.
Signed-off-by: Brice Goglin <Brice.Goglin@inria.fr>
The file was modifiedhwloc/topology-xml-nolibxml.c (diff)
Commit 577f7fd0ccaf710e41ea258ec780922334ab333d by brice.goglin
xml/nolibxml: better handle parsing failure at the beginning of XML
diffs
Signed-off-by: Brice Goglin <Brice.Goglin@inria.fr>
The file was modifiedhwloc/topology-xml-nolibxml.c (diff)
Commit 196df6dbfdb96336a619cfab479d029ba181fd58 by brice.goglin
xml: fix a leak on failure to import a v1 distance
Signed-off-by: Brice Goglin <Brice.Goglin@inria.fr>
The file was modifiedhwloc/topology-xml.c (diff)
Commit a0f47c00d9765794de4702f449725aa579caa346 by brice.goglin
xml/nolibxml: fix a leak a failure to pass diff headers after refname
Signed-off-by: Brice Goglin <Brice.Goglin@inria.fr>
The file was modifiedhwloc/topology-xml-nolibxml.c (diff)