linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/5] padata flushing and CPU hotplug fixes
@ 2019-08-28 22:14 Daniel Jordan
  2019-08-28 22:14 ` [PATCH v2 1/5] padata: make flushing work with async users Daniel Jordan
                   ` (4 more replies)
  0 siblings, 5 replies; 9+ messages in thread
From: Daniel Jordan @ 2019-08-28 22:14 UTC (permalink / raw)
  To: Herbert Xu, Steffen Klassert
  Cc: Sebastian Andrzej Siewior, Thomas Gleixner, linux-crypto,
	linux-kernel, Daniel Jordan

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@oracle.com/

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


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2019-09-18 20:38 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-08-28 22:14 [PATCH v2 0/5] padata flushing and CPU hotplug fixes Daniel Jordan
2019-08-28 22:14 ` [PATCH v2 1/5] padata: make flushing work with async users Daniel Jordan
2019-09-05  4:17   ` Herbert Xu
2019-09-05 22:37     ` Daniel Jordan
2019-09-18 20:37       ` Daniel Jordan
2019-08-28 22:14 ` [PATCH v2 2/5] padata: remove reorder_objects Daniel Jordan
2019-08-28 22:14 ` [PATCH v2 3/5] padata: get rid of padata_remove_cpu() for real Daniel Jordan
2019-08-28 22:14 ` [PATCH v2 4/5] padata: always acquire cpu_hotplug_lock before pinst->lock Daniel Jordan
2019-08-28 22:14 ` [PATCH v2 5/5] padata: validate cpumask without removed CPU during offline Daniel Jordan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).