Re: [PATCH] Add Documentation/kvm/msr.txt

From: Avi Kivity
Date: Mon May 31 2010 - 10:03:41 EST


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.

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/