diff options
author | Evgeniy Polyakov <johnpol@2ka.mipt.ru> | 2007-11-10 20:24:18 +0800 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2008-01-11 08:16:12 +1100 |
commit | a1e6ef2f1e01f2aa9ed930e1089fc85dc745bf7a (patch) | |
tree | b061de93924ff3d4804c04ea7ed85990bb3161b4 /drivers/mtd | |
parent | cd12fb906d2591e80da9edcbd4794b9b916d7489 (diff) |
[CRYPTO] hifn: Schedule callback invocation to tasklet.
This patch forces HIFN driver to invoke crypto request callbacks from
tasklet (softirq context) instead of hardirq context, since network
stack expects it to be called from bottom halves.
It is done by simply scheduling callback invocation via dedicated
tasklet. Workqueue solution was dropped because of tooo slow
rescheduling performance (7 times slower than tasklet, for mode details
one can check this link:
http://tservice.net.ru/~s0mbre/blog/devel/other/2007_11_09.html).
Driver passed all AES and DES tests in tcryt.c module.
Signed-off-by: Evgeniy Polyakov <johnpol@2ka.mipt.ru>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/mtd')
0 files changed, 0 insertions, 0 deletions