Re: [PATCH, RFC] improved hacks to allow -rt to run kernbench onPOWER

From: Benjamin Herrenschmidt
Date: Tue Nov 13 2007 - 06:41:53 EST



On Tue, 2007-11-13 at 11:05 +0100, Peter Zijlstra wrote:
> Looking at the code:
>
> /* radix tree not lockless safe ! we use a brlock-type mecanism
> * for now, until we can use a lockless radix tree
> */
> static void irq_radix_wrlock(unsigned long *flags)
>
> The RCU radix tree stuffs have gone upstream long ago.
>
> Anyway, it seems its the generic irq stuff that uses raw_spinlock_t
> and
> disables IRQs, so there isn't much we can do from the ARCH level I'm
> afraid :-(
>
> Ingo, any sane ideas?

As discussed on IRC< there are a couple of other related issues, though
part of them go away if I can get rid of the brlock I have in there
thanks to the new RCU based radix tree.

I'll give that some thoughts and come back to you tomorrow or thursday
hopefully with a patch.

Cheers,
Ben.


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/