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

Re: [Xen-devel] [PATCH 1/3] xen/arm: hvm_domain does not need to be cacheline aligned



On Wed, 8 Mar 2017, Julien Grall wrote:
> hvm_domain only contains the HVM_PARAM that on ARM are not used often.
> So it is not necessary to have hvm_domain fitting in a cacheline. Drop
> it to save 128 bytes in the structure arch_domain.
> 
> Signed-off-by: Julien Grall <julien.grall@xxxxxxx>

Reviewed-by: Stefano Stabellini <sstabellini@xxxxxxxxxx>


> ---
>  xen/include/asm-arm/domain.h | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/xen/include/asm-arm/domain.h b/xen/include/asm-arm/domain.h
> index f117e577f0..09fe502fc2 100644
> --- a/xen/include/asm-arm/domain.h
> +++ b/xen/include/asm-arm/domain.h
> @@ -14,7 +14,7 @@
>  struct hvm_domain
>  {
>      uint64_t              params[HVM_NR_PARAMS];
> -}  __cacheline_aligned;
> +};
>  
>  #ifdef CONFIG_ARM_64
>  enum domain_type {
> -- 
> 2.11.0
> 

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
https://lists.xen.org/xen-devel

 


Rackspace

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