Re: [PATCH 4/4] Drivers: hv: vmbus: avoid unneeded compiler optimizations in vmbus_wait_for_unload()

From: Radim Krcmar
Date: Mon Feb 15 2016 - 16:12:38 EST


2016-02-12 16:42+0100, Vitaly Kuznetsov:
> Message header is modified by the hypervisor and we read it in a loop,
> we need to prevent compilers from optimizing accesses. There are no such
> optimizations at this moment, this is just a future proof.
>
> Suggested-by: Radim Krcmar <rkrcmar@xxxxxxxxxx>

Reviewed-by: Radim KrÄmÃÅ <rkrcmar@xxxxxxxxxx>

> Signed-off-by: Vitaly Kuznetsov <vkuznets@xxxxxxxxxx>