diff options
author | Tadeusz Struk <tadeusz.struk@intel.com> | 2015-03-19 12:31:40 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-03-23 16:41:37 -0400 |
commit | a596999b7ddfe7fc5b7b8adf9536ab1c39cb12d2 (patch) | |
tree | 319147372157dc5edbca12edfdd659a999a036ad /lib/sort.c | |
parent | 66db37391dad834a4f739984eec81af27a68b09c (diff) | |
download | linux-a596999b7ddfe7fc5b7b8adf9536ab1c39cb12d2.tar.gz linux-a596999b7ddfe7fc5b7b8adf9536ab1c39cb12d2.tar.bz2 linux-a596999b7ddfe7fc5b7b8adf9536ab1c39cb12d2.zip |
crypto: algif - change algif_skcipher to be asynchronous
The way the algif_skcipher works currently is that on sendmsg/sendpage it
builds an sgl for the input data and then on read/recvmsg it sends the job
for encryption putting the user to sleep till the data is processed.
This way it can only handle one job at a given time.
This patch changes it to be asynchronous by adding AIO support.
Signed-off-by: Tadeusz Struk <tadeusz.struk@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib/sort.c')
0 files changed, 0 insertions, 0 deletions