On Wed, Jun 22, 2016 at 04:23:34PM +0300, Tero Kristo wrote: > Calling runtime PM API for every block causes serious performance hit to > crypto operations that are done on a long buffer. As crypto is performed > on a page boundary, encrypting large buffers can cause a series of crypto > operations divided by page. The runtime PM API is also called those many > times. > > Convert the driver to use runtime_pm autosuspend instead, with a default > timeout value of 1 second. This results in upto ~50% speedup. > > Signed-off-by: Tero Kristo <t-kristo@xxxxxx> Patches 1-4 applied. Thanks. -- Email: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt -- To unsubscribe from this list: send the line "unsubscribe linux-crypto" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html