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)
commita0ca6ca022ac197e159bb5d22a08e3c3aebb242c
treefbd194b3c93e8cf2938e1e4317a926578c22bc96
parent14a8e29cc2012394d3e886b11402eabd49a4d609
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