Jeff Squyres, le Wed 05 Jan 2011 15:12:45 +0100, a écrit :
> Quick clarification question: hwloc_alloc_membind() says --
>
> Returns -1 with errno set to ENOSYS if the action is not
> supported and HWLOC_MEMBIND_STRICT is given.
>
> But it also returns -1/ENOSYS if the current memory policy is STRICT, even if STRICT was not passed in flags.
>
> Right?
Alloc_membind does not follow the current policy, so STRICT has to be
passed in flags to get ENOSYS.
Samuel
|