Re: [PATCH 25/25] [PATCH] add paravirtualization support for x86_64

From: Jeremy Fitzhardinge
Date: Thu Aug 09 2007 - 03:04:38 EST


Glauber de Oliveira Costa wrote:
>>> +/*
>>> + * integers must be use with care here. They can break the PARAVIRT_PATCH(x)
>>> + * macro, that divides the offset in the structure by 8, to get a number
>>> + * associated with the hook. Dividing by four would be a solution, but it
>>> + * would limit the future growth of the structure if needed.
>>>
>>>
>> Why not just stick them at the end of the structure?
>>
>
> Does it really matter?
>

Well, yes, if alignment is an issue.


J
-
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/