Open MPI logo

Hardware Locality Development Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Hardware Locality Development mailing list

Subject: Re: [hwloc-devel] Pgcc issues fixed?
From: Samuel Thibault (samuel.thibault_at_[hidden])
Date: 2009-11-09 05:12:03


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