Re: [PATCH ftrace.git] Immedate Values Optimized Jump Fix

From: H. Peter Anvin
Date: Fri Jul 18 2008 - 19:39:00 EST


Mathieu Desnoyers wrote:

The generated code you are talking about will generate a different code
pattern, won't it (e.g. saving the registers on the stack before the
branch) ? And in this case, we fall-back on the standard immediate
values.


Not necessarily, and you *certainly* can't rely on pattern analysis to determine when it's unsafe.

-hpa
--
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/