Skip to content

padata cleanups

Daniel Jordan linux-crypto lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6padata: remove start functioncrypto/pcrypt.c include/linux/padata.h kernel/padata.c+1 -290 replies
2/6padata: remove stop functionDocumentation/core-api/padata.rst crypto/pcrypt.c include/linux/padata.h +1 more+5 -380 replies
3/6padata: inline single call of pd_setup_cpumasks()kernel/padata.c+9 -230 replies
4/6padata: remove effective cpumasks from the instanceinclude/linux/padata.h kernel/padata.c+3 -290 replies
5/6padata: fold padata_alloc_possible() into padata_alloc()Documentation/core-api/padata.rst crypto/pcrypt.c include/linux/padata.h +1 more+8 -310 replies
6/6padata: remove padata_parallel_queueinclude/linux/padata.h kernel/padata.c+22 -390 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/6] padata cleanups

These cleanups save ~5% of the padata text/data and make it a little easier to use and develop going forward.

In particular, they pave the way to extend padata's multithreading support to VFIO, a work-in-progress version of which can be found here:

https://oss.oracle.com/git/gitweb.cgi?p=linux-dmjordan.git;a=shortlog;h=refs/heads/padata-mt-wip-v0.5

Based on v5.8-rc5. As always, feedback is welcome.

Daniel

Daniel Jordan (6):
padata: remove start function
padata: remove stop function
padata: inline single call of pd_setup_cpumasks()
padata: remove effective cpumasks from the instance
padata: fold padata_alloc_possible() into padata_alloc()
padata: remove padata_parallel_queue

 Documentation/core-api/padata.rst |  18 +--
 crypto/pcrypt.c                   |  17 +--
 include/linux/padata.h            |  21 +---
 kernel/padata.c                   | 177 ++++++------------------------
 4 files changed, 46 insertions(+), 187 deletions(-)

base-commit: 11ba468877bb23f28956a35e896356252d63c983

Signature · 1 line
2.27.0