Skip to content

Commit 8b93818

Browse files
committed
hwloc.h: document that WHOLE_SYSTEM should be set again when reimporting after XML export
Signed-off-by: Brice Goglin <[email protected]>
1 parent cf7fabb commit 8b93818

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

include/hwloc.h

Lines changed: 5 additions & 1 deletion
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-2012 Université Bordeaux
55
* Copyright © 2009-2011 Cisco Systems, Inc. All rights reserved.
66
* See COPYING in top-level directory.
@@ -1712,6 +1712,10 @@ enum hwloc_topology_flags_e {
17121712
* When this flag is set, each object has allowed_cpuset <= cpuset <= complete_cpuset.
17131713
* Otherwise allowed_cpuset = cpuset <= complete_cpuset.
17141714
* The same applies to nodesets.
1715+
*
1716+
* If the current topology is exported to XML and reimported later, this flag
1717+
* should be set again in the reimported topology so that disallowed resources
1718+
* are reimported as well.
17151719
* \hideinitializer
17161720
*/
17171721
HWLOC_TOPOLOGY_FLAG_WHOLE_SYSTEM = (1UL<<0),

0 commit comments

Comments
 (0)