lkml.org 
[lkml]   [2010]   [Jun]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: cpumask: fix compat getaffinity
Date
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...

Cheers,
Rusty.


\
 
 \ /
  Last update: 2010-06-23 01:33    [from the cache]
©2003-2014 Jasper Spaans. Advertise on this site