]> git.baikalelectronics.ru Git - kernel.git/commit
crypto: caam - one tasklet per job ring
authorKim Phillips <kim.phillips@freescale.com>
Sat, 23 Jun 2012 00:48:57 +0000 (19:48 -0500)
committerHerbert Xu <herbert@gondor.apana.org.au>
Wed, 27 Jun 2012 06:42:07 +0000 (14:42 +0800)
commit2823fbdfb6e6a2b3c03a22cfc39defb67ec15571
treefbd194b3c93e8cf2938e1e4317a926578c22bc96
parent0aa97e8cdc1078009b602ffe6de44294ff22b368
crypto: caam - one tasklet per job ring

there is no noticeable benefit for multiple cores to process one
job ring's output ring: in fact, we can benefit from cache effects
of having the back-half stay on the core that receives a particular
ring's interrupts, and further relax general contention and the
locking involved with reading outring_used, since tasklets run
atomically.

Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/caam/intern.h
drivers/crypto/caam/jr.c