On Fri, 4 Oct 2013 12:12:25 -0700 Linus Torvalds <torva...@linux-foundation.org> wrote:
> - together with using a few inline functions, suddenly the "indirect" > jumps through this type descriptor end up actually being nice direct > compile-time constants: iow, they get turned into direct jumps. As all the rcu_synchronization() methods (on non UP) are quite expensive, I doubt that this optimization is worth anything. > > Tadaa. You actually get good code generation, and you use *less* > dynamic memory since you don't have to have this pointer to the > descriptor. Getting rid of the extra dynamic memory and the pointer business, on the other hand, does make your suggestion worth doing. -- Steve -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/