From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andrew Cooper Subject: Re: [PATCH 3/3] xen/init: Annotate all command line parameter infrastructure as const Date: Tue, 9 Feb 2016 13:52:29 +0000 Message-ID: <56B9EF1D.9010604@citrix.com> References: <1454951267-30034-1-git-send-email-andrew.cooper3@citrix.com> <1454951267-30034-3-git-send-email-andrew.cooper3@citrix.com> <56B9ECE502000078000D00CC@prv-mh.provo.novell.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <56B9ECE502000078000D00CC@prv-mh.provo.novell.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: Jan Beulich Cc: Tim Deegan , Stefano Stabellini , Ian Campbell , Xen-devel List-Id: xen-devel@lists.xenproject.org On 09/02/16 12:43, Jan Beulich wrote: >>>> On 08.02.16 at 18:07, wrote: >> --- a/xen/arch/x86/xen.lds.S >> +++ b/xen/arch/x86/xen.lds.S >> @@ -120,6 +120,12 @@ SECTIONS >> .init.data : { >> *(.init.rodata) >> *(.init.rodata.str*) >> + >> + . = ALIGN(32); > Why 32? > >> + __setup_start = .; >> + *(.init.setup) >> + __setup_end = .; >> + >> *(.init.data) >> *(.init.data.rel) >> *(.init.data.rel.*) >> @@ -146,11 +152,6 @@ SECTIONS >> __ctors_end = .; >> } :text >> . = ALIGN(32); >> - .init.setup : { >> - __setup_start = .; >> - *(.init.setup) >> - __setup_end = .; >> - } :text > If just because it was 32 here, I don't think that's a compelling > reason. With it (above, not necessarily here) reduced to 8 (which > of course could also be done while committing, if you agree and > there are no deeper reasons), > Reviewed-by: Jan Beulich It was just because of the code here. I still can't think of any specific reason why 32 is needed, so the ALIGN() can just be dropped. ~Andrew