On Wed, Aug 02, 2017 at 04:28:42PM +0200, Christoffer Dall wrote:
> There is a small chance that the compiler could generate separate loads
> for the dist->propbaser which could be modified from another CPU.  As we
> want to make sure we atomically update the entire value, and don't race
> with other updates, guarantee that the cmpxchg operation compares
> against the original value.
> 
> Cc: Catalin Marinas <[email protected]>
> Signed-off-by: Christoffer Dall <[email protected]>

FWIW:

Acked-by: Catalin Marinas <[email protected]>
_______________________________________________
kvmarm mailing list
[email protected]
https://lists.cs.columbia.edu/mailman/listinfo/kvmarm

Reply via email to