summaryrefslogtreecommitdiffstats
path: root/net/xfrm
diff options
context:
space:
mode:
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>2006-08-28 11:17:37 +1000
committerPaul Mackerras <paulus@samba.org>2006-08-30 10:36:16 +1000
commit8ec8f2e85c6b88b4a1641eb3902275bcf2c6d60a (patch)
treeff4d7eacba8c61f9950cbb36b0844ca53546316b /net/xfrm
parent4b3afca9345f5beb9c607faeb2aef4f91dd91a13 (diff)
downloadop-kernel-dev-8ec8f2e85c6b88b4a1641eb3902275bcf2c6d60a.zip
op-kernel-dev-8ec8f2e85c6b88b4a1641eb3902275bcf2c6d60a.tar.gz
[POWERPC] Fix performance regression in IRQ radix tree locking
When reworking the powerpc irq code, I figured out that we were using the radix tree in a racy way. As a temporary fix, I put a spinlock in there. However, this can have a significant impact on performances. This patch reworks that to use a smarter technique based on the fact that what we need is in fact a rwlock with extremely rare writers (thus optimized for the read path). Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'net/xfrm')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud