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

RE: [Xen-ia64-devel] [PATCH] xentrace buffer alignment



>From: Tian, Kevin
>Sent: 2005年11月24日 21:52
>
>       So t_rec will be placed at middle of 8 bytes boundary by t_recs[i] = 
> (struct t_rec
>*)(buf + 1). Then later access to 64bit field within t_rec is unaligned access.
>

Then another way is to modify above code to let type cast upon address aligned 
to next structure (t_recs)

Thanks,
Kevin

_______________________________________________
Xen-ia64-devel mailing list
Xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-ia64-devel


 


Rackspace

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