Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Distrib #370

Open
wants to merge 135 commits into
base: master
Choose a base branch
from
Open

Distrib #370

wants to merge 135 commits into from

Commits on Oct 22, 2019

  1. pci: make Gen5 link speed official

    No code change, just add comments about things being official instead of assumptions.
    
    The Gen5 specs is pretty-much finalized, things won't change anymore.
    
    Signed-off-by: Brice Goglin <Brice.Goglin@inria.fr>
    bgoglin authored and ndenoyelle committed Oct 22, 2019
    Configuration menu
    Copy the full SHA
    41cb2b8 View commit details
    Browse the repository at this point in the history
  2. tests: add a x86+linux test

    Check that Linux can add NUMA nodes to x86 CPU information.
    
    And check that Linux can annotate x86 AMD topoext NUMA nodes.
    
    Signed-off-by: Brice Goglin <Brice.Goglin@inria.fr>
    bgoglin authored and ndenoyelle committed Oct 22, 2019
    Configuration menu
    Copy the full SHA
    d93548d View commit details
    Browse the repository at this point in the history
  3. contrib/ci.inria.fr: fix the retrieval of the current branch name

    If the workspace clone ever ran on another branch (e.g. in my zbgoglin jobs),
    git branch returns multiple lines, which causes the 2nd branch name
    to be ran as a command-line after the only expected line "job-0-tarball.sh <firstbranch>"
    
    Use git rev-parse --abbrev-ref HEAD instead.
    
    Signed-off-by: Brice Goglin <Brice.Goglin@inria.fr>
    bgoglin authored and ndenoyelle committed Oct 22, 2019
    Configuration menu
    Copy the full SHA
    7dfc677 View commit details
    Browse the repository at this point in the history
  4. export LDFLAGS upstream in embedded builds.

    pavanbalaji authored and ndenoyelle committed Oct 22, 2019
    Configuration menu
    Copy the full SHA
    c1d84c0 View commit details
    Browse the repository at this point in the history
  5. API: add a "dont_merge" group attribute

    This tells the code not to ever merge that group with structurally-identical
    parent or children.
    
    This is useful for Groups implementing new "types" that cannot be backported
    to stable releases. New types won't be merged by default, but Groups would.
    
    Requested by Intel for Die objects.
    
    This doesn't break the ABI because the attribute structure has always been
    calloc'ed, which means this attribute was "0", which matches the default
    "merge group" behavior.
    
    Signed-off-by: Brice Goglin <Brice.Goglin@inria.fr>
    bgoglin authored and ndenoyelle committed Oct 22, 2019
    Configuration menu
    Copy the full SHA
    2cd3e9d View commit details
    Browse the repository at this point in the history
  6. x86: add HWLOC_DONT_MERGE_DIE_GROUPS env var to keep Die groups

    Update CPUID.1f x86 test case not to merge Die groups anymore.
    Hence there's no need to ignore Caches anymore.
    
    Signed-off-by: Brice Goglin <Brice.Goglin@inria.fr>
    bgoglin authored and ndenoyelle committed Oct 22, 2019
    Configuration menu
    Copy the full SHA
    f3ad5a4 View commit details
    Browse the repository at this point in the history
  7. xml+synthetic/import: forward compatibility for possible future Die/T…

    …ile/module types
    
    Make them groups.
    
    Signed-off-by: Brice Goglin <Brice.Goglin@inria.fr>
    bgoglin authored and ndenoyelle committed Oct 22, 2019
    Configuration menu
    Copy the full SHA
    c300967 View commit details
    Browse the repository at this point in the history
  8. linux/sysfs: abstract-out the functions to find the cpu/node sysfs di…

    …rectories
    
    Signed-off-by: Brice Goglin <Brice.Goglin@inria.fr>
    bgoglin authored and ndenoyelle committed Oct 22, 2019
    Configuration menu
    Copy the full SHA
    3763844 View commit details
    Browse the repository at this point in the history
  9. linux/sysfscpu: add support for new topology filenames

    I managed to convince Intel that adding another foo_siblings
    between core_siblings and thread_siblings would break userspace
    and situation could be even worse if they ever add another
    intermediate level in the future.
    
    So they are finally renaming to filenames whose semantics doesn't
    depend on intermediate levels: core_cpus and package_cpus.
    
    Signed-off-by: Brice Goglin <Brice.Goglin@inria.fr>
    bgoglin authored and ndenoyelle committed Oct 22, 2019
    Configuration menu
    Copy the full SHA
    93572b4 View commit details
    Browse the repository at this point in the history
  10. linux/sysfscpu: add support for dies (as a group for now)

    Linux 5.3 will have new "die_cpus" and "die_id" sysfs files
    for upcoming architectures with multiple dies per packages.
    
    When the die cpuset is different from the package, add a "Die" group.
    
    Don't add it when there's a single Die per package because
    most CPUs don't want to show a useless additional Die level.
    
    We don't want to set the Die level to keep_structure because
    it would get automerged in L3 caches on CLX, and lstopo displays
    everything by default anyway.
    
    Set the "dont_merge" group flag if HWLOC_DONT_MERGE_DIE_GROUPS
    is set in the environment, just like in the x86 backend.
    
    Signed-off-by: Brice Goglin <Brice.Goglin@inria.fr>
    bgoglin authored and ndenoyelle committed Oct 22, 2019
    Configuration menu
    Copy the full SHA
    5a38247 View commit details
    Browse the repository at this point in the history
  11. linux/sysfscpu: remove the E5v3 CoD split-package kernel bug workaround

    Old kernels exposed two packages on E5v3 in Cluster-on-Die mode
    because the package core_siblings was wrong.
    We detected that case when two packages had the same physical_package_id.
    
    This was fixed in Linux 3.18, backported in RHEL7.
    Other important distros use a more recent kernel now.
    
    Signed-off-by: Brice Goglin <Brice.Goglin@inria.fr>
    bgoglin authored and ndenoyelle committed Oct 22, 2019
    Configuration menu
    Copy the full SHA
    a54a088 View commit details
    Browse the repository at this point in the history
  12. linux/sysfscpu: reduce the scope of some bitmap variables

    Signed-off-by: Brice Goglin <Brice.Goglin@inria.fr>
    bgoglin authored and ndenoyelle committed Oct 22, 2019
    Configuration menu
    Copy the full SHA
    4f2be1f View commit details
    Browse the repository at this point in the history
  13. API: add a new "Die" object

    Signed-off-by: Brice Goglin <Brice.Goglin@inria.fr>
    bgoglin authored and ndenoyelle committed Oct 22, 2019
    Configuration menu
    Copy the full SHA
    aa1b81e View commit details
    Browse the repository at this point in the history
  14. linux+x86: use the new Die object instead of Groups

    Signed-off-by: Brice Goglin <Brice.Goglin@inria.fr>
    bgoglin authored and ndenoyelle committed Oct 22, 2019
    Configuration menu
    Copy the full SHA
    b953f32 View commit details
    Browse the repository at this point in the history
  15. xml: import/export Die from/to v1 as "Group(Die)"

    Signed-off-by: Brice Goglin <Brice.Goglin@inria.fr>
    bgoglin authored and ndenoyelle committed Oct 22, 2019
    Configuration menu
    Copy the full SHA
    f4bbc5b View commit details
    Browse the repository at this point in the history
  16. lstopo/draw: display die logical index by default

    Just like for cores and packages.
    
    Signed-off-by: Brice Goglin <Brice.Goglin@inria.fr>
    bgoglin authored and ndenoyelle committed Oct 22, 2019
    Configuration menu
    Copy the full SHA
    6ac3a72 View commit details
    Browse the repository at this point in the history
  17. tests/linux: add a fake (Qemu-generated) case with CPUID.1f Dies

    Signed-off-by: Brice Goglin <Brice.Goglin@inria.fr>
    bgoglin authored and ndenoyelle committed Oct 22, 2019
    Configuration menu
    Copy the full SHA
    9ccfefe View commit details
    Browse the repository at this point in the history
  18. doxy: update groups vs v2 Extended Topology Enumeration

    Signed-off-by: Brice Goglin <Brice.Goglin@inria.fr>
    bgoglin authored and ndenoyelle committed Oct 22, 2019
    Configuration menu
    Copy the full SHA
    14c2547 View commit details
    Browse the repository at this point in the history
  19. linux: don't forget to insert the distance matrix when annotating

    Fixes commit c1c34a6
    
    Signed-off-by: Brice Goglin <Brice.Goglin@inria.fr>
    bgoglin authored and ndenoyelle committed Oct 22, 2019
    Configuration menu
    Copy the full SHA
    829d3d7 View commit details
    Browse the repository at this point in the history
  20. linux: reoder annotated before parsing/inserting distances

    Otherwise the matrix would be wrong.
    
    Further fixes commit c1c34a6
    
    Signed-off-by: Brice Goglin <Brice.Goglin@inria.fr>
    bgoglin authored and ndenoyelle committed Oct 22, 2019
    Configuration menu
    Copy the full SHA
    6180d0e View commit details
    Browse the repository at this point in the history
  21. NEWS: die and new sysfs cpu filenames will be Linux 5.3, not 5.2

    Signed-off-by: Brice Goglin <Brice.Goglin@inria.fr>
    bgoglin authored and ndenoyelle committed Oct 22, 2019
    Configuration menu
    Copy the full SHA
    782e449 View commit details
    Browse the repository at this point in the history
  22. .github/issue_template.md: random improvements

    Signed-off-by: Brice Goglin <Brice.Goglin@inria.fr>
    bgoglin authored and ndenoyelle committed Oct 22, 2019
    Configuration menu
    Copy the full SHA
    2a5dccc View commit details
    Browse the repository at this point in the history
  23. gather-cpuid: add -s --silent for removing verbose messages

    Signed-off-by: Brice Goglin <Brice.Goglin@inria.fr>
    bgoglin authored and ndenoyelle committed Oct 22, 2019
    Configuration menu
    Copy the full SHA
    d2b7966 View commit details
    Browse the repository at this point in the history
  24. gather-topology: include the output of gather-cpuid by default when a…

    …vailable
    
    Hence, we don't have to run both on Linux/x86 anymore,
    and we don't have to manually tarball the CPUID files.
    
    Refs open-mpi#186
    
    Signed-off-by: Brice Goglin <Brice.Goglin@inria.fr>
    bgoglin authored and ndenoyelle committed Oct 22, 2019
    Configuration menu
    Copy the full SHA
    e2dd78b View commit details
    Browse the repository at this point in the history
  25. NEWS: bring 1.11.13 and 2.0.4 bullets in master

    Signed-off-by: Brice Goglin <Brice.Goglin@inria.fr>
    bgoglin authored and ndenoyelle committed Oct 22, 2019
    Configuration menu
    Copy the full SHA
    6e2f5ca View commit details
    Browse the repository at this point in the history
  26. contrib/dist/publish_doc: fix when not running from the tarball root

    Use realpath so that we can change the current directory
    without breaking the destination relative directory.
    
    Signed-off-by: Brice Goglin <Brice.Goglin@inria.fr>
    bgoglin authored and ndenoyelle committed Oct 22, 2019
    Configuration menu
    Copy the full SHA
    fe97bb7 View commit details
    Browse the repository at this point in the history
  27. pci: handle a malloc failure

    Reported by Intel from the output of klocwork.
    
    Signed-off-by: Brice Goglin <Brice.Goglin@inria.fr>
    bgoglin authored and ndenoyelle committed Oct 22, 2019
    Configuration menu
    Copy the full SHA
    9d6d660 View commit details
    Browse the repository at this point in the history
  28. shmem: handle some malloc failures

    Reported by Intel from the output of klocwork.
    
    Signed-off-by: Brice Goglin <Brice.Goglin@inria.fr>
    bgoglin authored and ndenoyelle committed Oct 22, 2019
    Configuration menu
    Copy the full SHA
    ec99b36 View commit details
    Browse the repository at this point in the history
  29. xml/export: handle malloc failures in export_safestrdup()

    Reported by Intel from the output of klocwork.
    
    Signed-off-by: Brice Goglin <Brice.Goglin@inria.fr>
    bgoglin authored and ndenoyelle committed Oct 22, 2019
    Configuration menu
    Copy the full SHA
    562d58e View commit details
    Browse the repository at this point in the history
  30. core: handle malloc failures when allocating objects

    Reported by Intel from the output of klocwork.
    
    Signed-off-by: Brice Goglin <Brice.Goglin@inria.fr>
    bgoglin authored and ndenoyelle committed Oct 22, 2019
    Configuration menu
    Copy the full SHA
    0652690 View commit details
    Browse the repository at this point in the history
  31. core: handle malloc failures when building normal levels

    Reported by Intel from the output of klocwork.
    
    Signed-off-by: Brice Goglin <Brice.Goglin@inria.fr>
    bgoglin authored and ndenoyelle committed Oct 22, 2019
    Configuration menu
    Copy the full SHA
    d6d6e10 View commit details
    Browse the repository at this point in the history
  32. core: handle malloc failures when building special levels

    Reported by Intel from the output of klocwork.
    
    Signed-off-by: Brice Goglin <Brice.Goglin@inria.fr>
    bgoglin authored and ndenoyelle committed Oct 22, 2019
    Configuration menu
    Copy the full SHA
    2ff9e3d View commit details
    Browse the repository at this point in the history
  33. hwloc-ps.www: bump dependency on "open" node package

    open <6.0.0 has a security vulnerability
    
    Signed-off-by: Brice Goglin <Brice.Goglin@inria.fr>
    bgoglin authored and ndenoyelle committed Oct 22, 2019
    Configuration menu
    Copy the full SHA
    1a0e956 View commit details
    Browse the repository at this point in the history
  34. contrib/ci.inria.fr: update sonarqube server

    Signed-off-by: Brice Goglin <Brice.Goglin@inria.fr>
    bgoglin authored and ndenoyelle committed Oct 22, 2019
    Configuration menu
    Copy the full SHA
    03669ea View commit details
    Browse the repository at this point in the history
  35. utils: don't force XML/SYNTHETIC_VERBOSE when already set to 0 in the…

    … environment
    
    Enables easier testing of the verbose errors.
    
    Signed-off-by: Brice Goglin <Brice.Goglin@inria.fr>
    bgoglin authored and ndenoyelle committed Oct 22, 2019
    Configuration menu
    Copy the full SHA
    2f577de View commit details
    Browse the repository at this point in the history
  36. linux: don't leak the dax devices directory

    CID #1448189
    
    Signed-off-by: Brice Goglin <Brice.Goglin@inria.fr>
    bgoglin authored and ndenoyelle committed Oct 22, 2019
    Configuration menu
    Copy the full SHA
    819c0cd View commit details
    Browse the repository at this point in the history
  37. distances: fix API comment indentation

    Signed-off-by: Brice Goglin <Brice.Goglin@inria.fr>
    bgoglin authored and ndenoyelle committed Oct 22, 2019
    Configuration menu
    Copy the full SHA
    cc3dd60 View commit details
    Browse the repository at this point in the history
  38. distances: add a hidden id field before public distances

    When we return a distances struct to the user, actually allocate
    a larger container that points to the internal distances.
    
    Might be used later to find the corresponding internal distances,
    for instance if we ever need to refresh the public distances,
    or to retrieve name, infos, etc.
    
    Signed-off-by: Brice Goglin <Brice.Goglin@inria.fr>
    bgoglin authored and ndenoyelle committed Oct 22, 2019
    Configuration menu
    Copy the full SHA
    3b0efae View commit details
    Browse the repository at this point in the history
  39. API: add hwloc_distances_release_remove()

    Signed-off-by: Brice Goglin <Brice.Goglin@inria.fr>
    bgoglin authored and ndenoyelle committed Oct 22, 2019
    Configuration menu
    Copy the full SHA
    07e03ef View commit details
    Browse the repository at this point in the history
  40. core: add a name to internal distances structure

    Not exported to users yet. Useful for better describing distances structure,
    especially for upcoming matrices for objects with different types.
    
    Only "NUMALatency" is currently used, and that's not very useful since
    the distances structure type and kinds provide the same info. But it will
    be more useful for identifying specific matrices such as the upcoming NVLink one.
    
    Signed-off-by: Brice Goglin <Brice.Goglin@inria.fr>
    bgoglin authored and ndenoyelle committed Oct 22, 2019
    Configuration menu
    Copy the full SHA
    c3c2aa8 View commit details
    Browse the repository at this point in the history
  41. API: add hwloc_distances_get_name() to retrieve the name of a distanc…

    …es structure.
    
    We don't add it to the public distances structure because it would break the ABI.
    
    Signed-off-by: Brice Goglin <Brice.Goglin@inria.fr>
    bgoglin authored and ndenoyelle committed Oct 22, 2019
    Configuration menu
    Copy the full SHA
    1c9ced4 View commit details
    Browse the repository at this point in the history
  42. API: add hwloc_distances_get_by_name()

    Useful for retrieving specific matrices such as "NUMALatency" or "NVLink".
    
    Signed-off-by: Brice Goglin <Brice.Goglin@inria.fr>
    bgoglin authored and ndenoyelle committed Oct 22, 2019
    Configuration menu
    Copy the full SHA
    fc603c9 View commit details
    Browse the repository at this point in the history
  43. xml/export/distances: abstract-out the function that exports a single…

    … distance structure
    
    Signed-off-by: Brice Goglin <Brice.Goglin@inria.fr>
    bgoglin authored and ndenoyelle committed Oct 22, 2019
    Configuration menu
    Copy the full SHA
    3e4bd65 View commit details
    Browse the repository at this point in the history
  44. xml/import/distances2: add a missing error message

    Signed-off-by: Brice Goglin <Brice.Goglin@inria.fr>
    bgoglin authored and ndenoyelle committed Oct 22, 2019
    Configuration menu
    Copy the full SHA
    e98d365 View commit details
    Browse the repository at this point in the history
  45. xml/import/distances2: fix some error messages

    Signed-off-by: Brice Goglin <Brice.Goglin@inria.fr>
    bgoglin authored and ndenoyelle committed Oct 22, 2019
    Configuration menu
    Copy the full SHA
    e8c2888 View commit details
    Browse the repository at this point in the history
  46. components: find() doesn't need to support NULL name anymore

    Signed-off-by: Brice Goglin <Brice.Goglin@inria.fr>
    bgoglin authored and ndenoyelle committed Oct 22, 2019
    Configuration menu
    Copy the full SHA
    7de88a5 View commit details
    Browse the repository at this point in the history
  47. components: fix the forcing of the pre-v2.0 linuxpci component throug…

    …h the HWLOC_COMPONENTS variable
    
    Signed-off-by: Brice Goglin <Brice.Goglin@inria.fr>
    bgoglin authored and ndenoyelle committed Oct 22, 2019
    Configuration menu
    Copy the full SHA
    fff3c5a View commit details
    Browse the repository at this point in the history
  48. components: use blacklisting for managing components excluded in HWLO…

    …C_COMPONENTS envvar
    
    Signed-off-by: Brice Goglin <Brice.Goglin@inria.fr>
    bgoglin authored and ndenoyelle committed Oct 22, 2019
    Configuration menu
    Copy the full SHA
    6c2e914 View commit details
    Browse the repository at this point in the history
  49. doxy: remove the devel doc about adding components/plugins

    It's very incomplete and not interesting to the vast majority of users.
    And it will be even more outdated soon.
    
    Signed-off-by: Brice Goglin <Brice.Goglin@inria.fr>
    bgoglin authored and ndenoyelle committed Oct 22, 2019
    Configuration menu
    Copy the full SHA
    ff7b59a View commit details
    Browse the repository at this point in the history
  50. distances: support distances between objects whose types are in multi…

    …ple levels
    
    Signed-off-by: Brice Goglin <Brice.Goglin@inria.fr>
    bgoglin authored and ndenoyelle committed Oct 22, 2019
    Configuration menu
    Copy the full SHA
    87daabc View commit details
    Browse the repository at this point in the history
  51. distances: allow inserting distance matrices between objects of diffe…

    …rent types
    
    This may be used for upcoming NVLink distances between GPUs and CPUs,
    or roofline-like distances between PUs/Caches/Memories.
    
    Signed-off-by: Brice Goglin <Brice.Goglin@inria.fr>
    bgoglin authored and ndenoyelle committed Oct 22, 2019
    Configuration menu
    Copy the full SHA
    ccd84a3 View commit details
    Browse the repository at this point in the history
  52. xml/distances: add support for heterogeneous distances

    Use a new "distances2hetero" tag instead of adding hetero-specific attributes
    to the existing "distances2" tag. The latter would fail to load entirely in pre-2.1
    releases, while the former just ignores the remaining of the XML (not an issue
    since the new tag is always after everything supported in pre-2.1).
    
    Signed-off-by: Brice Goglin <Brice.Goglin@inria.fr>
    bgoglin authored and ndenoyelle committed Oct 22, 2019
    Configuration menu
    Copy the full SHA
    9946e54 View commit details
    Browse the repository at this point in the history
  53. tests: add a heterogeneous distances in tests/hwloc/hwloc_distances.c

    Signed-off-by: Brice Goglin <Brice.Goglin@inria.fr>
    bgoglin authored and ndenoyelle committed Oct 22, 2019
    Configuration menu
    Copy the full SHA
    5b78932 View commit details
    Browse the repository at this point in the history
  54. tests/xml: add a test with heterogeneous distances

    Signed-off-by: Brice Goglin <Brice.Goglin@inria.fr>
    bgoglin authored and ndenoyelle committed Oct 22, 2019
    Configuration menu
    Copy the full SHA
    4f0ec48 View commit details
    Browse the repository at this point in the history
  55. distances: hwloc_distances_get_by_type() isn't inline on top of by_de…

    …pth() anymore
    
    Make it work even for Groups etc.
    
    Signed-off-by: Brice Goglin <Brice.Goglin@inria.fr>
    bgoglin authored and ndenoyelle committed Oct 22, 2019
    Configuration menu
    Copy the full SHA
    b0a2e82 View commit details
    Browse the repository at this point in the history
  56. distances: fix some leaks of the array of heterogeneous types

    Includes CID#1449980
    
    Signed-off-by: Brice Goglin <Brice.Goglin@inria.fr>
    bgoglin authored and ndenoyelle committed Oct 22, 2019
    Configuration menu
    Copy the full SHA
    29ec736 View commit details
    Browse the repository at this point in the history
  57. linux: fix a memory leak in the KNL case

    CID#1445008
    
    Signed-off-by: Brice Goglin <Brice.Goglin@inria.fr>
    bgoglin authored and ndenoyelle committed Oct 22, 2019
    Configuration menu
    Copy the full SHA
    0ce91be View commit details
    Browse the repository at this point in the history
  58. xml/export/v1/memory: change a variable to signed int

    weight() returns a signed int, so assert is better if we stay signed.
    
    CID#1445010
    
    Signed-off-by: Brice Goglin <Brice.Goglin@inria.fr>
    bgoglin authored and ndenoyelle committed Oct 22, 2019
    Configuration menu
    Copy the full SHA
    dc88241 View commit details
    Browse the repository at this point in the history
  59. API: fix the doc of hwloc_topology_get_*set

    Signed-off-by: Brice Goglin <Brice.Goglin@inria.fr>
    bgoglin authored and ndenoyelle committed Oct 22, 2019
    Configuration menu
    Copy the full SHA
    c287f5c View commit details
    Browse the repository at this point in the history
  60. internal+shmem: unbump the topology ABI

    It was bumped again in to 0x20200 in fa636a1,
    0x20100 is enough (and matches the main hwloc version)
    
    Signed-off-by: Brice Goglin <Brice.Goglin@inria.fr>
    bgoglin authored and ndenoyelle committed Oct 22, 2019
    Configuration menu
    Copy the full SHA
    a37b191 View commit details
    Browse the repository at this point in the history
  61. distances: reorganize and clarify internal structure fields

    Signed-off-by: Brice Goglin <Brice.Goglin@inria.fr>
    bgoglin authored and ndenoyelle committed Oct 22, 2019
    Configuration menu
    Copy the full SHA
    7afed19 View commit details
    Browse the repository at this point in the history
  62. distances: use a generic flag bitmask for internal distances flags

    Signed-off-by: Brice Goglin <Brice.Goglin@inria.fr>
    bgoglin authored and ndenoyelle committed Oct 22, 2019
    Configuration menu
    Copy the full SHA
    1973068 View commit details
    Browse the repository at this point in the history
  63. utils: bring back tests under mingw32

    Those were disabled in commit fa0e5d4
    in 2009 because mingw32 didn't like parameters with spaces
    (likely in synthetic strings).
    That doesn't seem to be an issue on our CI anymore so let's reenable this.
    
    Signed-off-by: Brice Goglin <Brice.Goglin@inria.fr>
    bgoglin authored and ndenoyelle committed Oct 22, 2019
    Configuration menu
    Copy the full SHA
    0937067 View commit details
    Browse the repository at this point in the history
  64. tests/lstopo: fix some messages

    Signed-off-by: Brice Goglin <Brice.Goglin@inria.fr>
    bgoglin authored and ndenoyelle committed Oct 22, 2019
    Configuration menu
    Copy the full SHA
    32992ad View commit details
    Browse the repository at this point in the history
  65. lstopo: add (undocumented) shmem import/export

    For testing compatibility between releases etc.
    
    Signed-off-by: Brice Goglin <Brice.Goglin@inria.fr>
    bgoglin authored and ndenoyelle committed Oct 22, 2019
    Configuration menu
    Copy the full SHA
    ac5ef05 View commit details
    Browse the repository at this point in the history
  66. lstopo: add a shmem test

    To make sure we don't break lstopo/shmem by mistake.
    The core shmem is already tested in tests/hwloc/shmem.
    
    Only enabled on Linux for now, could work everywhere in theory
    since we detect expected failures on Windows or when the target
    shmem VM range is busy.
    
    Signed-off-by: Brice Goglin <Brice.Goglin@inria.fr>
    bgoglin authored and ndenoyelle committed Oct 22, 2019
    Configuration menu
    Copy the full SHA
    0d3b01f View commit details
    Browse the repository at this point in the history
  67. configure: reindent chmoding-scripts

    Signed-off-by: Brice Goglin <Brice.Goglin@inria.fr>
    bgoglin authored and ndenoyelle committed Oct 22, 2019
    Configuration menu
    Copy the full SHA
    7cf08d5 View commit details
    Browse the repository at this point in the history
  68. lstopo/shmem: fix some printf format issues

    Signed-off-by: Brice Goglin <Brice.Goglin@inria.fr>
    bgoglin authored and ndenoyelle committed Oct 22, 2019
    Configuration menu
    Copy the full SHA
    d68d127 View commit details
    Browse the repository at this point in the history
  69. tests+example: fix some printf format warnings

    Signed-off-by: Brice Goglin <Brice.Goglin@inria.fr>
    bgoglin authored and ndenoyelle committed Oct 22, 2019
    Configuration menu
    Copy the full SHA
    b056c66 View commit details
    Browse the repository at this point in the history
  70. tests: add a basic test for static/dynamic api version

    Signed-off-by: Brice Goglin <Brice.Goglin@inria.fr>
    bgoglin authored and ndenoyelle committed Oct 22, 2019
    Configuration menu
    Copy the full SHA
    07f9e9c View commit details
    Browse the repository at this point in the history
  71. tests/api: fix a typo

    Signed-off-by: Brice Goglin <Brice.Goglin@inria.fr>
    bgoglin authored and ndenoyelle committed Oct 22, 2019
    Configuration menu
    Copy the full SHA
    c807a49 View commit details
    Browse the repository at this point in the history
  72. .github: add contributing.md

    Signed-off-by: Brice Goglin <Brice.Goglin@inria.fr>
    bgoglin authored and ndenoyelle committed Oct 22, 2019
    Configuration menu
    Copy the full SHA
    6357cdc View commit details
    Browse the repository at this point in the history
  73. linux: only close the root_fd if needed

    Since commit 7d9f952, root_fd
    is only set when fsroot_path is changed.
    Otherwise, it's -1. Don't close root_fd when -1 so that we don't
    propagate errno = EBADF if backend disabling occurs in a load()
    error path.
    
    Signed-off-by: Brice Goglin <Brice.Goglin@inria.fr>
    bgoglin authored and ndenoyelle committed Oct 22, 2019
    Configuration menu
    Copy the full SHA
    e934640 View commit details
    Browse the repository at this point in the history
  74. components: remove stringified component types

    The type will soon be a OR'ed set of phases, we cannot return a const string
    anymore, and it's not very useful anyway since component types are constants.
    
    Signed-off-by: Brice Goglin <Brice.Goglin@inria.fr>
    bgoglin authored and ndenoyelle committed Oct 22, 2019
    Configuration menu
    Copy the full SHA
    0f5a0cd View commit details
    Browse the repository at this point in the history
  75. core: move the discovery status to the caller

    Signed-off-by: Brice Goglin <Brice.Goglin@inria.fr>
    bgoglin authored and ndenoyelle committed Oct 22, 2019
    Configuration menu
    Copy the full SHA
    f107fa8 View commit details
    Browse the repository at this point in the history
  76. core: abstract-out the iterations over backends' discover() callbacks

    Signed-off-by: Brice Goglin <Brice.Goglin@inria.fr>
    bgoglin authored and ndenoyelle committed Oct 22, 2019
    Configuration menu
    Copy the full SHA
    0156c58 View commit details
    Browse the repository at this point in the history
  77. core: use phases for component types and for splitting discovery steps

    Replace the single component type with a OR'ed mask of "phases".
    
    For each phase, the discover() callback of each relevant backend is
    invoked with the phase as an argument.
    
    Phases may be excluded individually, so that a backend is either
    entirely or partially disabled.
    
    For now, we still don't have any component with multiple phases,
    they are still GLOBAL, CPU or MISC for now.
    
    Signed-off-by: Brice Goglin <Brice.Goglin@inria.fr>
    bgoglin authored and ndenoyelle committed Oct 22, 2019
    Configuration menu
    Copy the full SHA
    8e19b0b View commit details
    Browse the repository at this point in the history
  78. components: add many more phases

     Global (xml and synthetic)
     CPU (used for OS)
    +Memory (unused yet, will be used to make sure Memory is added after the CPU hierarchy is ready),
    +PCI (used for pci and linuxio)
    +IO (cuda, opencl, etc)
     Misc (only for Misc devices now, unused yet)
    +Annotate (unused yet, will be used for adding info to existing objects)
    +Tweak (for component that want to modify the topology right before returning from load)
    
    For now, we still have a single phase for component,
    but we'll change that soon.
    
    Signed-off-by: Brice Goglin <Brice.Goglin@inria.fr>
    bgoglin authored and ndenoyelle committed Oct 22, 2019
    Configuration menu
    Copy the full SHA
    e79c628 View commit details
    Browse the repository at this point in the history
  79. components: pass the mask of excluded_phases to the instantiate() cal…

    …lback
    
    Signed-off-by: Brice Goglin <Brice.Goglin@inria.fr>
    bgoglin authored and ndenoyelle committed Oct 22, 2019
    Configuration menu
    Copy the full SHA
    65f2f9f View commit details
    Browse the repository at this point in the history
  80. components: allow backends to dynamically disable some phases

    Signed-off-by: Brice Goglin <Brice.Goglin@inria.fr>
    bgoglin authored and ndenoyelle committed Oct 22, 2019
    Configuration menu
    Copy the full SHA
    518c378 View commit details
    Browse the repository at this point in the history
  81. components: allow blacklisting of individual phases

    Either in HWLOC_COMPONENTS=-foo:bar
    or in hwloc_topology_set_component(topo, "foo:bar", BLACKLIST)
    
    Signed-off-by: Brice Goglin <Brice.Goglin@inria.fr>
    bgoglin authored and ndenoyelle committed Oct 22, 2019
    Configuration menu
    Copy the full SHA
    0772109 View commit details
    Browse the repository at this point in the history
  82. linuxio: split in phases

    Split PCI/IO/MISC/ANNOTATE phases
    
    Signed-off-by: Brice Goglin <Brice.Goglin@inria.fr>
    bgoglin authored and ndenoyelle committed Oct 22, 2019
    Configuration menu
    Copy the full SHA
    23ff4d7 View commit details
    Browse the repository at this point in the history
  83. components: cleanup the managing of linuxpci->linuxio component renaming

    Signed-off-by: Brice Goglin <Brice.Goglin@inria.fr>
    bgoglin authored and ndenoyelle committed Oct 22, 2019
    Configuration menu
    Copy the full SHA
    9ee8114 View commit details
    Browse the repository at this point in the history
  84. pci+linuxio: remove the PCI_DONE discovery status flag

    Now that the linuxio PCI phase is separated from others,
    we can use dynamic phase excluding to select between linuxio and pci PCI discovery.
    
    Signed-off-by: Brice Goglin <Brice.Goglin@inria.fr>
    bgoglin authored and ndenoyelle committed Oct 22, 2019
    Configuration menu
    Copy the full SHA
    6c585b5 View commit details
    Browse the repository at this point in the history
  85. pci/names: use pci_get_strings() to get vendor/device names

    So that we don't need to pciaccess device struct anymore.
    
    And abstract-out to a separate function.
    
    Signed-off-by: Brice Goglin <Brice.Goglin@inria.fr>
    bgoglin authored and ndenoyelle committed Oct 22, 2019
    Configuration menu
    Copy the full SHA
    913d990 View commit details
    Browse the repository at this point in the history
  86. pci: split a annotate discovery phase for vendor/device names

    So that pciaccess names can be added to linuxio pci devices.
    
    Signed-off-by: Brice Goglin <Brice.Goglin@inria.fr>
    bgoglin authored and ndenoyelle committed Oct 22, 2019
    Configuration menu
    Copy the full SHA
    4a5bb53 View commit details
    Browse the repository at this point in the history
  87. fsroot+pci: allow the pci backend to add vendor/device ids on modifie…

    …d fsroot
    
    Modified fsroot cannot use the pciaccess backend for getting PCI devices,
    but it may still annotate sysfs-got devices with vendor/device names later.
    
    Hence changing fsroot shouldn't disable pci entirely anymore.
    
    However linux tests must re-disable it, otherwise the output would change
    depending on whether pciaccess is available, and with the version of the
    pci.ids database.
    
    Signed-off-by: Brice Goglin <Brice.Goglin@inria.fr>
    bgoglin authored and ndenoyelle committed Oct 22, 2019
    Configuration menu
    Copy the full SHA
    ba40ddf View commit details
    Browse the repository at this point in the history
  88. components: add envvar to annotate global components

    If the envvar HWLOC_ANNOTATE_GLOBAL_COMPONENTS=1,
    global components don't exclude the ANNOTATE phase anymore.
    
    Hence, the pci component may add PCI vendor/device strings to
    objects if the XML generation was performed without pciaccess.
    
    Note that it doesn't check whether those names are already
    available, so they may be duplicated if enabled blindly.
    
    Signed-off-by: Brice Goglin <Brice.Goglin@inria.fr>
    bgoglin authored and ndenoyelle committed Oct 22, 2019
    Configuration menu
    Copy the full SHA
    e3c32f1 View commit details
    Browse the repository at this point in the history
  89. linux: merge the linuxio component back into the main linux component

    Signed-off-by: Brice Goglin <Brice.Goglin@inria.fr>
    bgoglin authored and ndenoyelle committed Oct 22, 2019
    Configuration menu
    Copy the full SHA
    a95ee37 View commit details
    Browse the repository at this point in the history
  90. tests/fake: check a TWEAK phase in the fake component

    It restricts the topology to a single PU and single NUMA.
    
    Signed-off-by: Brice Goglin <Brice.Goglin@inria.fr>
    bgoglin authored and ndenoyelle committed Oct 22, 2019
    Configuration menu
    Copy the full SHA
    10e86cd View commit details
    Browse the repository at this point in the history
  91. utils/calc+bind: add --no-smt to keep a single PU per core

    Signed-off-by: Brice Goglin <Brice.Goglin@inria.fr>
    bgoglin authored and ndenoyelle committed Oct 22, 2019
    Configuration menu
    Copy the full SHA
    95e01aa View commit details
    Browse the repository at this point in the history
  92. lstopo: add --no-smt which just ignore PUs as existing filters

    Signed-off-by: Brice Goglin <Brice.Goglin@inria.fr>
    bgoglin authored and ndenoyelle committed Oct 22, 2019
    Configuration menu
    Copy the full SHA
    e06d3b6 View commit details
    Browse the repository at this point in the history
  93. doxy: make a specific FAQ section about api/abi versions

    Signed-off-by: Brice Goglin <Brice.Goglin@inria.fr>
    bgoglin authored and ndenoyelle committed Oct 22, 2019
    Configuration menu
    Copy the full SHA
    77af96d View commit details
    Browse the repository at this point in the history
  94. doxy: add entries about XML/synthetic/shmem compatibility between rev…

    …isions
    
    Signed-off-by: Brice Goglin <Brice.Goglin@inria.fr>
    bgoglin authored and ndenoyelle committed Oct 22, 2019
    Configuration menu
    Copy the full SHA
    fce46ae View commit details
    Browse the repository at this point in the history
  95. hwloc-calc.1: use "all" instead of "machine:0"

    "machine:0" is still supported but mostly useless
    since the custom assembly backend was removed in 2.0.
    
    Signed-off-by: Brice Goglin <Brice.Goglin@inria.fr>
    bgoglin authored and ndenoyelle committed Oct 22, 2019
    Configuration menu
    Copy the full SHA
    82453e0 View commit details
    Browse the repository at this point in the history
  96. hwloc-bind/calc.1: examples with --no-smt

    Signed-off-by: Brice Goglin <Brice.Goglin@inria.fr>
    bgoglin authored and ndenoyelle committed Oct 22, 2019
    Configuration menu
    Copy the full SHA
    3da00f6 View commit details
    Browse the repository at this point in the history
  97. keep_structure: only merge levels which are actually parent/children

    We never checked the parent/child relationship because the number
    of object in (unrelated) consecutive levels (in depth order) is
    very often different.
    However this is really needed in practice.
    
    Fixes open-mpi#363
    
    Thanks to Mark Allen for reporting the issue.
    He had a P9 machine restricted to only 6 cores.
    And there were also 6 groups for CPU-less GPU memory nodes.
    Those levels are really unrelated, but the core algorithm
    decided to place them nearby in the list of depths.
    
    In git master, this issue would only occur if we disable
    the auto-ignoring of these GPU nodes.
    
    Signed-off-by: Brice Goglin <Brice.Goglin@inria.fr>
    bgoglin authored and ndenoyelle committed Oct 22, 2019
    Configuration menu
    Copy the full SHA
    9fbab19 View commit details
    Browse the repository at this point in the history
  98. tests/x86: add an intel cascadelake example

    By the way, document the removal of gp_index attributes from XML
    to avoid spurious failures when the core inserts objects in a
    different order from some reason.
    
    Signed-off-by: Brice Goglin <Brice.Goglin@inria.fr>
    bgoglin authored and ndenoyelle committed Oct 22, 2019
    Configuration menu
    Copy the full SHA
    b8001fb View commit details
    Browse the repository at this point in the history
  99. nolibxml: fix a the exporting of content inside a xml node

    length isn't needed, and the missing "%s" caused a warning.
    
    Signed-off-by: Brice Goglin <Brice.Goglin@inria.fr>
    bgoglin authored and ndenoyelle committed Oct 22, 2019
    Configuration menu
    Copy the full SHA
    5636b0b View commit details
    Browse the repository at this point in the history
  100. linux: add HWLOC_USE_NUMA_DISTANCES envvar to disable new node locali…

    …ty heuristics
    
    1) Some SLIT tables are buggy for NVDIMMs nodes (asymmetric and wrong).
    
    2) Current Linux kernels (at least up to 5.3) may create conflicting node
    target/initiators when proximity domains and OS node indexes are different
    (e.g. when PXM 0 and 1 in CPU0 are nodes 0 and 2 in Linux on dual-CLX platforms in SNC mode).
    
    This envvar will allow working around such hardware/software bugs.
    By default, the envvar is 7, which means SLIT is gathered and (1) and (2) are enabled.
    Removing bit 0 disables SLIT entirely.
    Removing bit 1 disables (1).
    Removing bit 2 disables (2).
    
    Signed-off-by: Brice Goglin <Brice.Goglin@inria.fr>
    bgoglin authored and ndenoyelle committed Oct 22, 2019
    Configuration menu
    Copy the full SHA
    ef93108 View commit details
    Browse the repository at this point in the history
  101. solaris: also support HWLOC_USE_NUMA_DISTANCES env var

    Only disables distance gathering, nothing else is supported there.
    
    Signed-off-by: Brice Goglin <Brice.Goglin@inria.fr>
    bgoglin authored and ndenoyelle committed Oct 22, 2019
    Configuration menu
    Copy the full SHA
    e2c0def View commit details
    Browse the repository at this point in the history
  102. linuxio: ude dev_port in favor of dev_id when available in net device…

    … sysfs directories
    
    dev_id is somehow deprecated for exposing the port number.
    Mostly matters for IB devices.
    
    Thanks to Thomas Gruber for the report.
    
    Signed-off-by: Brice Goglin <Brice.Goglin@inria.fr>
    bgoglin authored and ndenoyelle committed Oct 22, 2019
    Configuration menu
    Copy the full SHA
    51ff3ed View commit details
    Browse the repository at this point in the history
  103. lstopo/draw: make sure we always remove the separator between PU boxes

    Some topology may have cores at level N-2 and PU at level N because
    a unrelated level was placed at N-1 (for instance groups of GPU CPU-less
    NUMA node on the side). There's no easy way to force PU parents
    at N-1 and everything lese before.
    
    Fix lstopo to handle that case instead of assuming PU parents are always N-1.
    
    Signed-off-by: Brice Goglin <Brice.Goglin@inria.fr>
    bgoglin authored and ndenoyelle committed Oct 22, 2019
    Configuration menu
    Copy the full SHA
    962225e View commit details
    Browse the repository at this point in the history
  104. NEWS: cleanup for 2.1

    Signed-off-by: Brice Goglin <Brice.Goglin@inria.fr>
    bgoglin authored and ndenoyelle committed Oct 22, 2019
    Configuration menu
    Copy the full SHA
    086382b View commit details
    Browse the repository at this point in the history
  105. .gitignore: update

    Signed-off-by: Brice Goglin <Brice.Goglin@inria.fr>
    bgoglin authored and ndenoyelle committed Oct 22, 2019
    Configuration menu
    Copy the full SHA
    32a00af View commit details
    Browse the repository at this point in the history
  106. NEWS: missing line

    Signed-off-by: Brice Goglin <Brice.Goglin@inria.fr>
    bgoglin authored and ndenoyelle committed Oct 22, 2019
    Configuration menu
    Copy the full SHA
    74d90f9 View commit details
    Browse the repository at this point in the history
  107. Revert the unrelated VERSION change in ".gitignore: update"

    This partially reverts commit 5d63e48.
    
    Signed-off-by: Brice Goglin <Brice.Goglin@inria.fr>
    bgoglin authored and ndenoyelle committed Oct 22, 2019
    Configuration menu
    Copy the full SHA
    0b4be95 View commit details
    Browse the repository at this point in the history
  108. VERSION: master is now 2.2.0

    Signed-off-by: Brice Goglin <Brice.Goglin@inria.fr>
    bgoglin authored and ndenoyelle committed Oct 22, 2019
    Configuration menu
    Copy the full SHA
    2c5f277 View commit details
    Browse the repository at this point in the history
  109. lstopo/draw: fix (again) the separator between boxes

    Commit c9df031 fixed the PU separator
    but change the I/O separator to 0 too. Fix that case.
    
    Signed-off-by: Brice Goglin <Brice.Goglin@inria.fr>
    bgoglin authored and ndenoyelle committed Oct 22, 2019
    Configuration menu
    Copy the full SHA
    23f6cf0 View commit details
    Browse the repository at this point in the history
  110. contrib/windows: better build directories to avoid conflicts between …

    …objects during build
    
    Thanks to Eloi Gaudry for the patch.
    
    Signed-off-by: Brice Goglin <Brice.Goglin@inria.fr>
    bgoglin authored and ndenoyelle committed Oct 22, 2019
    Configuration menu
    Copy the full SHA
    b42cfd7 View commit details
    Browse the repository at this point in the history
  111. contrib/windows: move dependencies to each tool vcxproj file

    Instead of having all of them in the main solution file.
    
    Thanks to Eloi Gaudry for the patch.
    
    Signed-off-by: Brice Goglin <Brice.Goglin@inria.fr>
    bgoglin authored and ndenoyelle committed Oct 22, 2019
    Configuration menu
    Copy the full SHA
    902b8e8 View commit details
    Browse the repository at this point in the history
  112. contrib/windows: add SolutionGuid

    Defined with recent VS.
    
    Signed-off-by: Brice Goglin <Brice.Goglin@inria.fr>
    bgoglin authored and ndenoyelle committed Oct 22, 2019
    Configuration menu
    Copy the full SHA
    228d922 View commit details
    Browse the repository at this point in the history
  113. contrib/windows: bump the default VS version to something recent

    Thanks to Eloi Gaudry for the patch.
    
    We force retarget to an old vs110 for ci.inria.fr.
    
    Signed-off-by: Brice Goglin <Brice.Goglin@inria.fr>
    bgoglin authored and ndenoyelle committed Oct 22, 2019
    Configuration menu
    Copy the full SHA
    1628524 View commit details
    Browse the repository at this point in the history
  114. contrib/windows: build for Windows 10 by default

    Thanks to Eloi Gaudry for the patch.
    
    Signed-off-by: Brice Goglin <Brice.Goglin@inria.fr>
    bgoglin authored and ndenoyelle committed Oct 22, 2019
    Configuration menu
    Copy the full SHA
    9c63754 View commit details
    Browse the repository at this point in the history
  115. contrib/windows: update README

    Move idea of hwloc-ps to a github issue.
    Update some comments, add details for command-line build.
    
    Thanks to Eloi Gaudry for the suggestion.
    
    Signed-off-by: Brice Goglin <Brice.Goglin@inria.fr>
    bgoglin authored and ndenoyelle committed Oct 22, 2019
    Configuration menu
    Copy the full SHA
    245cab4 View commit details
    Browse the repository at this point in the history
  116. contrib/ci.inria.fr: fix a typo in verbose messages

    Signed-off-by: Brice Goglin <Brice.Goglin@inria.fr>
    bgoglin authored and ndenoyelle committed Oct 22, 2019
    Configuration menu
    Copy the full SHA
    a052465 View commit details
    Browse the repository at this point in the history
  117. contrib/ci.inria.fr: better names for sonarqube build parameters

    Signed-off-by: Brice Goglin <Brice.Goglin@inria.fr>
    bgoglin authored and ndenoyelle committed Oct 22, 2019
    Configuration menu
    Copy the full SHA
    788281b View commit details
    Browse the repository at this point in the history
  118. contrib/ci.inria.fr: add a coverity job

    Will run in the extended nightly tests.
    
    Runs only on master on the main repo by default.
    
    Signed-off-by: Brice Goglin <Brice.Goglin@inria.fr>
    bgoglin authored and ndenoyelle committed Oct 22, 2019
    Configuration menu
    Copy the full SHA
    3f07103 View commit details
    Browse the repository at this point in the history
  119. contrib/ci.inria.fr: fix quotes to avoid invalid error messages

    Signed-off-by: Brice Goglin <Brice.Goglin@inria.fr>
    bgoglin authored and ndenoyelle committed Oct 22, 2019
    Configuration menu
    Copy the full SHA
    852bcb4 View commit details
    Browse the repository at this point in the history
  120. linux+API: Remove support for Intel Xeon Phi (MIC, Knights Corner) co…

    …-processors
    
    Closes open-mpi#368
    
    Signed-off-by: Brice Goglin <Brice.Goglin@inria.fr>
    bgoglin authored and ndenoyelle committed Oct 22, 2019
    Configuration menu
    Copy the full SHA
    740c88e View commit details
    Browse the repository at this point in the history
  121. doxy: fix a typo

    Signed-off-by: Brice Goglin <Brice.Goglin@inria.fr>
    bgoglin authored and ndenoyelle committed Oct 22, 2019
    Configuration menu
    Copy the full SHA
    ef32791 View commit details
    Browse the repository at this point in the history
  122. doxy+rename: clarify capital name renaming

    They are renamed to PREFIX_hwloc_FOO instead of PREFIX_HWLOC_FOO
    We could fix it but it doesn't matter much (people aren't supposed to
    use those renamed names anyway) and it could break existing hacks
    (if anybody actually depends on such renamed name).
    
    Thanks to Samuel K. Gutierrez for the report.
    
    Signed-off-by: Brice Goglin <Brice.Goglin@inria.fr>
    bgoglin authored and ndenoyelle committed Oct 22, 2019
    Configuration menu
    Copy the full SHA
    81126f3 View commit details
    Browse the repository at this point in the history
  123. Add functions for distributing objects of the topology

    ndenoyelle committed Oct 22, 2019
    Configuration menu
    Copy the full SHA
    fb22c1c View commit details
    Browse the repository at this point in the history
  124. xml/export: cleanup the exporting of allowed sets

    Don't AND(normal, topology_allowed) in the normal (v2) case
    to avoid hiding internal allowed set bugs.
    
    Signed-off-by: Brice Goglin <Brice.Goglin@inria.fr>
    bgoglin authored and ndenoyelle committed Oct 22, 2019
    Configuration menu
    Copy the full SHA
    3bef693 View commit details
    Browse the repository at this point in the history
  125. core: AND allowed sets with normal sets in the allow(LOCAL) case

    In some (old?) corner cases, Linux cpusets may return offline PUs
    in the allowed sets of cpusets/cgroups.
    
    Signed-off-by: Brice Goglin <Brice.Goglin@inria.fr>
    bgoglin authored and ndenoyelle committed Oct 22, 2019
    Configuration menu
    Copy the full SHA
    abfa3dd View commit details
    Browse the repository at this point in the history
  126. utils: fix --flags/--thissystem when using a fake fsroot or cpuid dir…

    …ectory
    
    fsroot and cpuid are implemented in tools using environment variables
    (those debug cases are not in the API since v2).
    Those backends forced by environment variable override the normal
    topology thissystem flag that may be set with set_flags() in the API
    and with --flags or --thissystem in cli tools. One must use the
    HWLOC_THISSYSTEM envvar to force the this system flag.
    Implement this automatically in the tools (common helpers).
    
    Signed-off-by: Brice Goglin <Brice.Goglin@inria.fr>
    bgoglin authored and ndenoyelle committed Oct 22, 2019
    Configuration menu
    Copy the full SHA
    e62d3d8 View commit details
    Browse the repository at this point in the history
  127. linux: fix a mntent leak on failure to allocate a buffer

    Signed-off-by: Brice Goglin <Brice.Goglin@inria.fr>
    bgoglin authored and ndenoyelle committed Oct 22, 2019
    Configuration menu
    Copy the full SHA
    84cf88f View commit details
    Browse the repository at this point in the history
  128. implement new policy in hwloc-distrib utility

    Signed-off-by: ndenoyelle <ndenoyel@anl.gov>
    ndenoyelle committed Oct 22, 2019
    Configuration menu
    Copy the full SHA
    4974f11 View commit details
    Browse the repository at this point in the history
  129. update man page for new distrib command

    Signed-off-by: ndenoyelle <ndenoyel@anl.gov>
    ndenoyelle committed Oct 22, 2019
    Configuration menu
    Copy the full SHA
    b761026 View commit details
    Browse the repository at this point in the history
  130. Various fixes

    Signed-off-by: ndenoyelle <ndenoyel@anl.gov>
    ndenoyelle committed Oct 22, 2019
    Configuration menu
    Copy the full SHA
    5cf6a5a View commit details
    Browse the repository at this point in the history
  131. Various fixes

    Signed-off-by: ndenoyelle <ndenoyel@anl.gov>
    ndenoyelle committed Oct 22, 2019
    Configuration menu
    Copy the full SHA
    51be27c View commit details
    Browse the repository at this point in the history
  132. distrib API renaming

    Signed-off-by: ndenoyelle <ndenoyel@anl.gov>
    ndenoyelle committed Oct 22, 2019
    Configuration menu
    Copy the full SHA
    3f6eee3 View commit details
    Browse the repository at this point in the history
  133. remove compare fn cast

    Signed-off-by: ndenoyelle <ndenoyel@anl.gov>
    ndenoyelle committed Oct 22, 2019
    Configuration menu
    Copy the full SHA
    2fd3172 View commit details
    Browse the repository at this point in the history
  134. add distrib to hwloc build

    ndenoyelle committed Oct 22, 2019
    Configuration menu
    Copy the full SHA
    9533b3b View commit details
    Browse the repository at this point in the history
  135. fix visualstudio build

    ndenoyelle committed Oct 22, 2019
    Configuration menu
    Copy the full SHA
    cbb230a View commit details
    Browse the repository at this point in the history