On Wed, Aug 21, 2019 at 12:14:19AM -0400, Daniel Jordan wrote:
>
> I'll try fixing the flushing with Steffen's refcounting idea assuming he 
> hasn't already started on that.  So we're on the same page, the problem is 
> that if padata's ->parallel() punts to a cryptd thread, flushing the parallel 
> work will return immediately without necessarily indicating the parallel job 
> is finished, so flushing is pointless and padata_replace needs to wait till 
> the instance's refcount drops to 0.  Did I get it right?

Yeah you can never flush an async crypto job.  You have to wait
for it to finish.

Cheers,
-- 
Email: Herbert Xu <herb...@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt

Reply via email to