[lkml]   [2010]   [Jun]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: cpumask: fix compat getaffinity
On Wed, 12 May 2010 06:00:45 pm Milton Miller wrote:
> At least for parsing, we need to allocate and parse NR_CPUS until
> all places like arch/powerpc/platforms/pseries/xics.c that compare a
> user-supplied mask to CPUMASK_ALL are eliminated.

Hi, this has been bugging me...

We're OK in this case: cpumask_equal() will only iterate to nr_cpus. That's
one reason for all the cpumask churn...

I'm about to submit the cpumask shrinkage to Ingo. I'll cc you...


 \ /
  Last update: 2010-06-23 01:33    [W:0.144 / U:0.588 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site