lkml.org 
[lkml]   [2010]   [May]   [31]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] Add Documentation/kvm/msr.txt
On 05/31/2010 04:49 PM, Glauber Costa wrote:
>
>> How are we failing to meet it? All guests align to at least four bytes.
>>
> static struct pvclock_wall_clock wall_clock;
>
> Unless there is something that the compiler does that I should take for granted,
> there is no alignment directive in there, and it could be anywhere.
>

The compiler will align u32 and larger to 4 bytes on i386 (and align u64
to 8 bytes on x86_64).

--
I have a truly marvellous patch that fixes the bug which this
signature is too narrow to contain.



\
 
 \ /
  Last update: 2010-05-31 16:05    [W:0.030 / U:0.340 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site