[PATCH v2 0/5] padata flushing and CPU hotplug fixes

From: Daniel Jordan
Date: Wed Aug 28 2019 - 19:39:02 EST


Hi,
Here are some miscellaneous padata fixes, mostly to do with CPU hotplug.
This time around there's a new hotplug state to make the CPU remove path
cleaner, and the CC list grew a bit.

Daniel

v2:
- patches 1-3 are new; 4-5 have changed since v1[*]
- attempted to fix padata flushing as requested (Herbert)
- changed hotplug state in which __padata_remove_cpu() is
called (Herbert)
- purged cpumask_clear_cpu() calls from same function (Herbert)
- dropped v1's patch 3/2 (Herbert)
- after more thought, left the Fixes: tag on the last patch the same

testing:
- testcase was tcrypt mode=215 sec=1 throughout
- ran all cpumask combos among parallel cpumasks, serial cpumasks, and CPU
hotplug in a 3-CPU VM
- lockdep to check patch 4
- tested at each patch in this set with and without
CONFIG_CRYPTO_PCRYPT

Series based on recent mainline plus all padata patches in cryptodev:
git://oss.oracle.com/git/linux-dmjordan.git padata-cpuhp-v2

[*] https://lore.kernel.org/linux-crypto/20190809192857.26585-1-daniel.m.jordan@xxxxxxxxxx/

Daniel Jordan (5):
padata: make flushing work with async users
padata: remove reorder_objects
padata: get rid of padata_remove_cpu() for real
padata: always acquire cpu_hotplug_lock before pinst->lock
padata: validate cpumask without removed CPU during offline

Documentation/padata.txt | 18 ++------
include/linux/cpuhotplug.h | 1 +
include/linux/padata.h | 5 +-
kernel/padata.c | 95 +++++++++++---------------------------
4 files changed, 36 insertions(+), 83 deletions(-)


base-commit: d1abaeb3be7b5fa6d7a1fbbd2e14e3310005c4c1
prerequisite-patch-id: a5bfed8ea60d5a784b8b3e21ccb5657ced2aa1e3
prerequisite-patch-id: 96d53aecccb5af242ba5ee342d75810ecd9bfb84
prerequisite-patch-id: 965d8a63c1461f00219aec2d817f2ca85d49cfb3
prerequisite-patch-id: 8e6c2988331b46c9467ac568157c6c575cbe6578
--
2.23.0