Re: [RFC][PATCH] x86: make text_poke() atomic

H. Peter Anvin
2009-03-02T19:28:28Z

Masami Hiramatsu wrote:
>>>
>>> Stop machine is not required when inserting a breakpoint.
>>
>> that is your assumption; when I spoke with CPU architects they
>> cringed ;(
>
> Is that true even if modifying just one-byte (like int3 insertion)
> and we don't care synchronous write(that means code modification
> effects on other processors after a while)?
>

The problem is that he's using is as part of a sequenced series of
steps. The lack of synchronization comes into play there.

-hpa