diff options
author | Kim Phillips <kim.phillips@freescale.com> | 2012-06-22 20:48:57 -0400 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2012-06-27 02:42:07 -0400 |
commit | a0ca6ca022ac197e159bb5d22a08e3c3aebb242c (patch) | |
tree | fbd194b3c93e8cf2938e1e4317a926578c22bc96 /drivers/crypto/caam/intern.h | |
parent | 14a8e29cc2012394d3e886b11402eabd49a4d609 (diff) |
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 ed2b739f934b..5cd4c1b268a1 100644 --- a/drivers/crypto/caam/intern.h +++ b/drivers/crypto/caam/intern.h | |||
@@ -43,7 +43,7 @@ struct caam_drv_private_jr { | |||
43 | struct device *parentdev; /* points back to controller dev */ | 43 | struct device *parentdev; /* points back to controller dev */ |
44 | int ridx; | 44 | int ridx; |
45 | struct caam_job_ring __iomem *rregs; /* JobR's register space */ | 45 | struct caam_job_ring __iomem *rregs; /* JobR's register space */ |
46 | struct tasklet_struct irqtask[NR_CPUS]; | 46 | struct tasklet_struct irqtask; |
47 | int irq; /* One per queue */ | 47 | int irq; /* One per queue */ |
48 | int assign; /* busy/free */ | 48 | int assign; /* busy/free */ |
49 | 49 | ||