Jeff Squyres, le Thu 05 Nov 2009 07:58:58 -0500, a écrit : > This problem may go away if we adapt PLPA's approach to sched_[set| > get]affinity.
What I dislike in that approach is that it means we'd have to closely follow future changes in the kernel ABI, while the API is not supposed to change (even if it has in the past). Also, now that glibc provides pthread_setaffinity_np, we should take advantage of it to implement hwloc_set_thread_cpubind, and there is no way we can re-implement it ourselves (the missing piece is the pthread_t -> tid translation). Samuel