diff options
author | Kim Phillips <kim.phillips@freescale.com> | 2012-06-23 00:48:57 (GMT) |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2012-06-27 06:42:07 (GMT) |
commit | a0ca6ca022ac197e159bb5d22a08e3c3aebb242c (patch) | |
tree | fbd194b3c93e8cf2938e1e4317a926578c22bc96 /drivers/crypto/caam/intern.h | |
parent | 14a8e29cc2012394d3e886b11402eabd49a4d609 (diff) | |
download | linux-fsl-qoriq-a0ca6ca022ac197e159bb5d22a08e3c3aebb242c.tar.xz |
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>
Diffstat (limited to 'drivers/crypto/caam/intern.h')
-rw-r--r-- | drivers/crypto/caam/intern.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/crypto/caam/intern.h b/drivers/crypto/caam/intern.h index ed2b739..5cd4c1b 100644 --- a/drivers/crypto/caam/intern.h +++ b/drivers/crypto/caam/intern.h @@ -43,7 +43,7 @@ struct caam_drv_private_jr { struct device *parentdev; /* points back to controller dev */ int ridx; struct caam_job_ring __iomem *rregs; /* JobR's register space */ - struct tasklet_struct irqtask[NR_CPUS]; + struct tasklet_struct irqtask; int irq; /* One per queue */ int assign; /* busy/free */ |