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

Add whole processus binding support on Linux #25

Closed
ompiteam opened this issue Sep 12, 2014 · 2 comments
Closed

Add whole processus binding support on Linux #25

ompiteam opened this issue Sep 12, 2014 · 2 comments
Assignees
Labels
Milestone

Comments

@ompiteam
Copy link
Contributor

This can be implemented by enumerating /proc/{,self}/task/*, bind them, enumerate again to check that none have appeared in between.

@ompiteam
Copy link
Contributor Author

Imported from trac issue 24. Created by sthibaul on 2009-11-25T11:28:35, last modified: 2012-12-22T02:49:34

@ompiteam ompiteam self-assigned this Sep 12, 2014
@ompiteam ompiteam added this to the v1.0 milestone Sep 12, 2014
@ompiteam ompiteam added the bug label Sep 12, 2014
@ompiteam
Copy link
Contributor Author

Trac comment by bgoglin on 2009-12-30 07:25:55:

(In [1543]) (try to) properly use the new whole-process binding facility on Linux:

  • hwloc_linux_set/get_proc_cpubind() now use hwloc_linux_set/get_pid_cpubind()
    when the THREAD flag isn't set, instead of only when PROC is set
  • hwloc_linux_set/get_cpubind() now uses hwloc_linux_set/get_proc_cpubind()
  • Add hwloc_linux_set/get_thisproc_cpubind() using hwloc_linux_set/get_pid_cpubind()

All binding modes are now supported on Linux.

This commit fixes #24.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant