2016-05-11 08:04-0700, Nadav Amit: > In theory, nothing prevents the compiler from write-tearing PTEs, or > split PTE writes. These partially-modified PTEs can be fetched by other > cores and cause mayhem. I have not really encountered such case in > real-life, but it does seem possible. > > For example, the compiler may try to do something creative for > kvm_set_pte_rmapp() and perform multiple writes to the PTE. > > Signed-off-by: Nadav Amit <nadav.amit@xxxxxxxxx> > --- We don't lose anything by preventing tearing even if it wasn't possible. Applied, Thanks. -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html