Samuel Thibault wrote:
> Bert Wesarg, le Sun 21 Mar 2010 13:31:14 +0100, a écrit :
>   
>> I would like to propose an interface change for these function, so
>> that the caller provide the to-be-filled cpuset, to reduce the
>> alloc/free frequency.
>>     
>
> This is indeed better (and actually reduces the amount of code in
> hwloc), I have implemented it.
>   

Should we also convert some other functions that previously returned a
newly allocated cpuset ? For instance hwloc_cpuset_from_string and some
helpers in the glibc/libnuma/openfabrics headers

Brice

Reply via email to