From: Benjamin Herrenschmidt Date: Mon, 28 Aug 2006 01:17:37 +0000 (+1000) Subject: [POWERPC] Fix performance regression in IRQ radix tree locking X-Git-Tag: v2.6.18-rc6~33^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8ec8f2e85c6b88b4a1641eb3902275bcf2c6d60a;p=pandora-kernel.git [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 Signed-off-by: Paul Mackerras --- Reading git-diff-tree failed