Skip to content

Commit ae902ef

Browse files
committed
doc: offline CPUs aren't really supported anymore
The Linux kernel doesn't report topology for offline CPUs anymore, so these CPUs just go in complete_cpuset. That's why we don't have online_cpuset anymore in 2.0. Refs #226. Signed-off-by: Brice Goglin <[email protected]>
1 parent b45d0f9 commit ae902ef

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

doc/hwloc.doxy

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*
22
* Copyright © 2009 CNRS
3-
* Copyright © 2009-2016 Inria. All rights reserved.
3+
* Copyright © 2009-2017 Inria. All rights reserved.
44
* Copyright © 2009-2013 Université Bordeaux
55
* Copyright © 2009-2014 Cisco Systems, Inc. All rights reserved.
66
* See COPYING in top-level directory.
@@ -37,7 +37,7 @@ hwloc supports the following operating systems:
3737

3838
<ul>
3939
<li>Linux (including old kernels not having sysfs topology
40-
information, with knowledge of cpusets, offline CPUs and ScaleMP vSMP)
40+
information, with knowledge of cpusets, ScaleMP vSMP support, etc.)
4141
on all supported hardware, including Intel Xeon Phi
4242
(KNL and KNC, either standalone or as a coprocessor)
4343
and NumaScale NumaConnect.</li>

include/hwloc.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -427,8 +427,8 @@ struct hwloc_obj {
427427
*/
428428
hwloc_cpuset_t complete_cpuset; /**< \brief The complete CPU set of logical processors of this object,
429429
*
430-
* This may include not only the same as the cpuset field, but also the CPUs for
431-
* which topology information is unknown or incomplete, the offlines CPUS, and
430+
* This may include not only the same as the cpuset field, but also some CPUs for
431+
* which topology information is unknown or incomplete, some offlines CPUs, and
432432
* the CPUs that are ignored when the ::HWLOC_TOPOLOGY_FLAG_WHOLE_SYSTEM flag
433433
* is not set.
434434
* Thus no corresponding PU object may be found in the topology, because the
@@ -470,8 +470,8 @@ struct hwloc_obj {
470470
*/
471471
hwloc_nodeset_t complete_nodeset; /**< \brief The complete NUMA node set of this object,
472472
*
473-
* This may include not only the same as the nodeset field, but also the NUMA
474-
* nodes for which topology information is unknown or incomplete, the offlines
473+
* This may include not only the same as the nodeset field, but also some NUMA
474+
* nodes for which topology information is unknown or incomplete, some offlines
475475
* nodes, and the nodes that are ignored when the ::HWLOC_TOPOLOGY_FLAG_WHOLE_SYSTEM
476476
* flag is not set.
477477
* Thus no corresponding NUMA node object may be found in the topology, because the

0 commit comments

Comments
 (0)