Re: [patch 0/8] Immediate Values

From: Arjan van de Ven
Date: Sun Aug 12 2007 - 14:30:54 EST



On Sun, 2007-08-12 at 11:07 -0400, Mathieu Desnoyers wrote:
> Hi Andrew,
>
> Here is the latest version of immediate values. It applies on 2.6.23-rc2-mm2 in
> this order:


I have a concern; you seem to be patching potentially "live" code....

there are basically two options
1) you run the risk of triple faulting (patching an instruction while
some other core/cpu may be decoding it may cause a triple fault)
2) you do an IPI to all other cpus and prevent them from executing any
code except a small loop during the patching... this is expensive.

To be honest, neither sound very attractive to me ;(


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