Daniel Jordan
3f257191d3
padata: fold padata_alloc_possible() into padata_alloc()
...
There's no reason to have two interfaces when there's only one caller.
Removing _possible saves text and simplifies future changes.
Signed-off-by: Daniel Jordan <[email protected] >
Cc: Herbert Xu <[email protected] >
Cc: Steffen Klassert <[email protected] >
Cc: [email protected]
Cc: [email protected]
Signed-off-by: Herbert Xu <[email protected] >
2020-07-23 17:34:18 +10:00
Daniel Jordan
350ef051d4
padata: remove stop function
...
padata_stop() has two callers and is unnecessary in both cases. When
pcrypt calls it before padata_free(), it's being unloaded so there are
no outstanding padata jobs[0]. When __padata_free() calls it, it's
either along the same path or else pcrypt initialization failed, which
of course means there are also no outstanding jobs.
Removing it simplifies padata and saves text.
[0] https://lore.kernel.org/linux-crypto/[email protected] /
Signed-off-by: Daniel Jordan <[email protected] >
Cc: Herbert Xu <[email protected] >
Cc: Steffen Klassert <[email protected] >
Cc: [email protected]
Cc: [email protected]
Signed-off-by: Herbert Xu <[email protected] >
2020-07-23 17:34:18 +10:00
Daniel Jordan
ec3b39c731
padata: document multithreaded jobs
...
Add Documentation for multithreaded jobs.
Signed-off-by: Daniel Jordan <[email protected] >
Signed-off-by: Andrew Morton <[email protected] >
Tested-by: Josh Triplett <[email protected] >
Cc: Alexander Duyck <[email protected] >
Cc: Alex Williamson <[email protected] >
Cc: Dan Williams <[email protected] >
Cc: Dave Hansen <[email protected] >
Cc: David Hildenbrand <[email protected] >
Cc: Herbert Xu <[email protected] >
Cc: Jason Gunthorpe <[email protected] >
Cc: Jonathan Corbet <[email protected] >
Cc: Kirill Tkhai <[email protected] >
Cc: Michal Hocko <[email protected] >
Cc: Pavel Machek <[email protected] >
Cc: Pavel Tatashin <[email protected] >
Cc: Peter Zijlstra <[email protected] >
Cc: Randy Dunlap <[email protected] >
Cc: Robert Elliott <[email protected] >
Cc: Shile Zhang <[email protected] >
Cc: Steffen Klassert <[email protected] >
Cc: Steven Sistare <[email protected] >
Cc: Tejun Heo <[email protected] >
Cc: Zi Yan <[email protected] >
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Linus Torvalds <[email protected] >
2020-06-03 20:09:45 -07:00
Daniel Jordan
bfcdcef8c8
padata: update documentation
...
Remove references to unused functions, standardize language, update to
reflect new functionality, migrate to rst format, and fix all kernel-doc
warnings.
Fixes: 815613da6a ("kernel/padata.c: removed unused code")
Signed-off-by: Daniel Jordan <[email protected] >
Cc: Eric Biggers <[email protected] >
Cc: Herbert Xu <[email protected] >
Cc: Jonathan Corbet <[email protected] >
Cc: Steffen Klassert <[email protected] >
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Signed-off-by: Daniel Jordan <[email protected] >
Signed-off-by: Herbert Xu <[email protected] >
2019-12-11 16:37:02 +08:00