On Thu, 2017-08-03 at 19:52 +1000, Michael Ellerman wrote: > What if num is 0? > > Which it would be in the fallback case, if the affinity mask is empty, > AFAICS.
How can the mask be empty though ? But yes, as I noted there is a problem if the value is 0. Not sure what to do if we are given an empty mask though. Ben.