Samuel Thibault, le Sat 30 Jan 2010 15:55:00 +0100, a écrit :
> > 1) hwloc_topology_from_cpu/membind(pid) (or cpuset as argument) =>
> > restrict topology to given cpu/membind
> > 2) hwloc_topology_get_from_pid(pid) reads both cpu/membind and
> > administrative restrictions from another process instead of current process
> No need for these, they'd be contained in the hwloc_topology_set_pid()
> configuration function, which is a more powerful way to do it.
(plus an additional HWLOC_TOPOLOGY_FLAG_CURRENT_BINDING in
hwloc_topology_flags_e, which is the purpose of #12).