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)
committerVarun Wadekar <vwadekar@nvidia.com>
Wed, 18 Apr 2012 12:58:47 +0000 (17:58 +0530)
commit4be5e296bb66d4f8973a6e90d950b1a9c1814544
tree237f3ed1232f7bfb82ad1bb41b070ddf4a1eaf00
parent080ac41360ea609f42712d8738338368051ca847
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