> Alexander Graf wrote:
> > They should be atomic. TCG SMP swaps between different vCPUs only
> > after translation blocks are done. In fact, the only way I'm aware
> > of to stop the execution of a TB mid-way is a page fault.
> 
> A page fault would interrupt it if the atomic is implemented as
> a read followed by a write, and the write faults.

Yes, but in that case the whole instruction should be abandoned.

Paul


Reply via email to