[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH 1/4] VT-d/qinval: make local variable used for communication with IOMMU "volatile"



>>> On 16.06.14 at 14:55, <andrew.cooper3@xxxxxxxxxx> wrote:
> On 16/06/14 13:47, Jan Beulich wrote:
>> Without that there is - afaict - nothing preventing the compiler from
>> putting the variable into a register for the duration of the wait loop.
>>
>> Signed-off-by: Jan Beulich <jbeulich@xxxxxxxx>
> 
> I seem to remember Tim saying that behaviour like this is covered by
> -fno-strict-aliasing

Afaik it would be if the variable was not an automatic one.

Jan


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.