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

Re: [Xen-devel] [PATCH] xen: fix alignment for bitops



>>> On 15.04.14 at 10:29, <murzin.v@xxxxxxxxx> wrote:
> On Tue, Apr 15, 2014 at 8:35 AM, Jan Beulich <JBeulich@xxxxxxxx> wrote:
>> only place you'd need to alter - we simply assume bitops on 32-bit
>> aligned quantities to work.
>>
> 
> You do, but reality seems to be different, apart from arm64 looks like
> ppc64 has the same alignment requirement, I'm not aware about other
> 64-bit implementations... but, is it really possible to convince all
> these people to change the implementation? I guess the answer would be
> "use unsigned long", or like that :)

That's no the point. The point is that if the arch has such
requirements, the arch-specific bitmap manipulation functions
should be written such that generic code works with the present
assumptions.

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®.