Re: [PATCH v5 3/7] crypto: SHA1 multibuffer crypto opportunistic flush

2014-07-25 Thread Peter Zijlstra
On Tue, Jul 22, 2014 at 03:09:35PM -0700, Tim Chen wrote: > The crypto daemon can take advantage of available cpu > cycles to flush any unfinished jobs if it is the > only task running on the cpu, and there are no more crypto > jobs to process. You conveniently forgot to mention energy efficiency,

[PATCH v5 3/7] crypto: SHA1 multibuffer crypto opportunistic flush

2014-07-22 Thread Tim Chen
The crypto daemon can take advantage of available cpu cycles to flush any unfinished jobs if it is the only task running on the cpu, and there are no more crypto jobs to process. Signed-off-by: Tim Chen --- crypto/mcryptd.c | 39 --- 1 file changed, 36 inserti