-
Notifications
You must be signed in to change notification settings - Fork 629
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert "Remove conf dependence in xcpuinfo_abs_to_mac()"
This reverts commit 86495bd. Commmit 86495bd made task/cgroup get CPU topology info from hwloc instead of the config (task/cgroup uses xcpuinfo_abs_to_mac()). This made task/cgroup and task/affinity get out of sync when ThreadsPerCore was configured to 1 but was actually 2 in the hardware. Since task/affinity was still getting CPU topology information from the conf (dist_tasks.c -> _get_avail_map()), this resulted in situations where task/affinity was trying to bind to CPUs in the incorrect cgroup, resulting in task_p_pre_launch errors. Bug 9244, 10613.
- Loading branch information
Showing
2 changed files
with
11 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters