padata: Use the online cpumask as the default
authorSteffen Klassert <steffen.klassert@secunet.com>
Wed, 28 Mar 2012 06:43:21 +0000 (08:43 +0200)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 29 Mar 2012 11:52:46 +0000 (19:52 +0800)
commit13614e0fb1a8840c134be35c179ff23e23676304
treee9fb16b0d3840562ebe5b5a8f2eb6e37f9e26a8d
parent107f8bdac992356b3a80d41c9f6ff4399159aa81
padata: Use the online cpumask as the default

We use the active cpumask to determine the superset of cpus
to use for parallelization. However, the active cpumask is
for internal usage of the scheduler and therefore not the
appropriate cpumask for these purposes. So use the online
cpumask instead.

Reported-by: Peter Zijlstra <peterz@infradead.org>
Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
kernel/padata.c