From mboxrd@z Thu Jan 1 00:00:00 1970 From: Samuel Thibault Subject: Re: [PATCH ARM v6 01/14] mini-os: x86_64: make thread stacks 16-byte aligned Date: Fri, 18 Jul 2014 15:22:40 +0200 Message-ID: <20140718132240.GT5545@type.bordeaux.inria.fr> References: <1405508874-3921-1-git-send-email-talex5@gmail.com> <1405508874-3921-2-git-send-email-talex5@gmail.com> <1405612225.1977.34.camel@kazak.uk.xensource.com> <20140717181503.GZ6456@type.youpi.perso.aquilenet.fr> <1405677645.13883.14.camel@kazak.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Return-path: Received: from mail6.bemta4.messagelabs.com ([85.158.143.247]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1X887W-0007YU-Ok for xen-devel@lists.xenproject.org; Fri, 18 Jul 2014 13:22:42 +0000 Content-Disposition: inline In-Reply-To: <1405677645.13883.14.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: xen-devel@lists.xenproject.org, Thomas Leonard , stefano.stabellini@eu.citrix.com, Dave.Scott@eu.citrix.com, anil@recoil.org List-Id: xen-devel@lists.xenproject.org Ian Campbell, le Fri 18 Jul 2014 11:00:45 +0100, a =E9crit : > I suppose this comes from the stack normally being 16-byte aligned but > the actual call to the function adding another 8 by pushing the return > address, so on funciton entry you are "misaligned" by 8 bytes. Yes. Samuel