Messages in this thread | | | From | Rusty Russell <> | Subject | Re: cpumask: fix compat getaffinity | Date | Wed, 23 Jun 2010 09:00:29 +0930 |
| |
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.
| |