From: Tim Deegan Subject: Re: [PATCH 4/5] xen/arm: Cleanup use of __attribute__((packed)) Date: Thu, 13 Mar 2014 10:59:59 +0100 Message-ID: <20140313095959.GA41479@deinos.phlegethon.org> References: <1394651319-8893-1-git-send-email-andrew.cooper3@citrix.com> <1394651319-8893-5-git-send-email-andrew.cooper3@citrix.com> <53217BB90200007800123874@nat28.tlf.novell.com> <1394704502.25873.3.camel@kazak.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <1394704502.25873.3.camel@kazak.uk.xensource.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Ian Campbell Cc: Andrew Cooper , Stefano Stabellini , Jan Beulich , Xen-devel List-Id: xen-devel@lists.xenproject.org At 09:55 +0000 on 13 Mar (1394700902), Ian Campbell wrote: > On Thu, 2014-03-13 at 08:34 +0000, Jan Beulich wrote: > > >>> On 12.03.14 at 20:08, Andrew Cooper wrote: > > > And standardise on having the statement at the head of the struct/union > > > rather > > > than at the tail. This is all mechanical shuffling. > > > > Yet none of the attributes seem really necessary here. > > These structs mirror the actual hardware PTE layouts, although it should > make no difference in practice isn't __packed quite a useful indicator > for this? +1. I think that __packed on things where the actual bit layout is important is fine, even if it's not strictly necessary. Cheers, Tim.