padata: Fixes for 3.4

From: Steffen Klassert
Date: Wed Mar 28 2012 - 02:42:02 EST


This patchset contains the following changes:

1) Add a reference to the padata api documentation to the code.
Suggested by Peter Zijlstra.

2) We use the active cpumask to determine the superset of cpus
to use for parallelization. The active cpumask is not the appropriate
cpumask for these purposes. Replace the cpu active usage by cpu online.
Reported by Peter Zijlstra.

3) On cpu hotplug, we don't remove the cpu that went offline from our cpumasks.
Fix this by removing this cpu from the padata cpumasks.

Please pull or apply.

The patchset is based on the crypto-2.6 tree and is available via git:

The following changes since commit ff0a70fe053614e763eb3ac88bfea9c5615fce3b:
Jussi Kivilinna (1):
crypto: twofish-x86_64-3way - module init/exit functions should be static

are available in the git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/klassert/linux-stk padata-fixes

Steffen Klassert (3):
padata: Add a reference to the api documentation
padata: Use the online cpumask as the default
padata: Fix cpu hotplug

kernel/padata.c | 13 +++++++++----
1 files changed, 9 insertions(+), 4 deletions(-)
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/