Re: [hwloc-devel] [hwloc-svn] svn:hwloc r1865

2010-03-28 Thread Samuel Thibault
Bert Wesarg, le Sat 27 Mar 2010 15:06:43 +0100, a écrit : > > +  if (needed_count <= ulongs_count) > > +    return; > > + > > +  while (ulongs_count < needed_count) > > +    ulongs_count *= 2; Mmm, this is actually 1 << (hwloc_fls(needed_count)), isn't it? SAmuel

Re: [hwloc-devel] [hwloc-svn] svn:hwloc r1865

2010-03-27 Thread Bert Wesarg
Hi, thanks for sharing this early. On Sat, Mar 27, 2010 at 08:53, wrote: > Modified: branches/dyncpusets/src/cpuset.c > == > --- branches/dyncpusets/src/cpuset.c    (original) > +++