On Wed, 2013-08-07 at 16:19 -0400, Jason Baron wrote: > The whole point of the thread started with wanting to move the default > 'disabled' branch further out-of-line. We could get there with better > compiler support for the 'cold' label attribute. Thus, in theory the > whole 2-byte jmp is just an intermediate step. (Yeah, I know that > support doesn't seem to be happening anytime soon...) >
Actually, Ideally, we would move the bulk of the tracing code out of line, but we can have the jump to the tracing code still in line, and the nop jump to it. [ hot path] jmp trace / nop 1: [...] trace: jmp trace_main_code jmp 1b Then that jmp trace can still be a 2 byte op. -- 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/