From: "Jan Beulich" Subject: Re: uint64_aligned_t not compatible across gcc versions Date: Thu, 31 Aug 2006 08:54:16 +0200 Message-ID: <44F6A3B8.76E4.0078.0@novell.com> References: <44F45351.76E4.0078.0@novell.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Keir Fraser Cc: xen-devel@lists.xensource.com, John Levon List-Id: xen-devel@lists.xenproject.org >I'll admit there's still the question of whether this is worthwhile for just >these two hypercalls in the first place. Jan: do you think much code will be >saved by explicit alignment for domctl/sysctl, or do you think we're just as >well to remove uint64_aligned_t and XEN_GUEST_HANDLE_64, and do compat shims >for domctl/sysctl just as we are for all other hypercalls? Depends on what you mean by code saving - source code or binary size. The former shouldn't be too much (a simple function with mostly auto- generated body per translated (sub-)structure), the latter might be significant (a recompiled version of any non-translated hypercall). Which variant to use for sysctl and domctl I haven't even started to think about yet. But as said in the other mail - it would seem to me that overall it'd be better to not have this construct. Jan