lkml.org 
[lkml]   [2007]   [Aug]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [patch 0/8] Immediate Values
From
Date

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@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2007-08-12 20:33    [W:0.273 / U:0.016 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site