>
>What do you think of the idea below? We create arch specific spinlock
>functions as __foo and wrap the debugging bits around them as foo. This
>should also allow us to unify the UP and SMP spinlock debugging somewhat.
>
I tried to create a minimal patch, to reduce the probability of patch
conflicts with earlier/future kernels.
I agree that your solutition is better if the patch is included in
Linus/Marcelo's tree.
Have you asked Linus about it? I love runtime checks, but IIRC the
majority of the kernel maintainers disagrees.
-- Manfred- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/