xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
From: Julien Grall <julien.grall@arm.com>
To: xen-devel@lists.xen.org
Cc: andre.przywara@arm.com, Julien Grall <julien.grall@arm.com>,
	sstabellini@kernel.org, punit.agrawal@arm.com
Subject: [PATCH 1/3] xen/arm: hvm_domain does not need to be cacheline aligned
Date: Wed,  8 Mar 2017 18:06:00 +0000	[thread overview]
Message-ID: <20170308180602.24430-2-julien.grall@arm.com> (raw)
In-Reply-To: <20170308180602.24430-1-julien.grall@arm.com>

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@arm.com>
---
 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@lists.xen.org
https://lists.xen.org/xen-devel

  reply	other threads:[~2017-03-08 18:06 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-03-08 18:05 [PATCH 0/3] xen/arm: p2m: Perform local invalidation on vCPU migration Julien Grall
2017-03-08 18:06 ` Julien Grall [this message]
2017-03-08 18:30   ` [PATCH 1/3] xen/arm: hvm_domain does not need to be cacheline aligned Stefano Stabellini
2017-03-08 18:06 ` [PATCH 2/3] xen/arm: Introduce INVALID_VCPU_ID Julien Grall
2017-03-08 18:31   ` Stefano Stabellini
2017-03-08 18:06 ` [PATCH 3/3] xen/arm: p2m: Perform local TLB invalidation on vCPU migration Julien Grall
2017-03-08 18:58   ` Stefano Stabellini
2017-03-08 19:27     ` Julien Grall
2017-03-08 19:48       ` Stefano Stabellini
2017-03-08 21:37         ` Julien Grall
2017-03-14 22:39           ` Stefano Stabellini
2017-03-14 23:23             ` Julien Grall
2017-03-14 23:29               ` Stefano Stabellini
2017-03-08 21:37         ` Julien Grall

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20170308180602.24430-2-julien.grall@arm.com \
    --to=julien.grall@arm.com \
    --cc=andre.przywara@arm.com \
    --cc=punit.agrawal@arm.com \
    --cc=sstabellini@kernel.org \
    --cc=xen-devel@lists.xen.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).