Re: [Xen-devel] [PATCH v2 1/8] xen/lockprof: Move .lockprofile.data into .rodata

2016-02-24 Thread Jan Beulich
>>> On 23.02.16 at 17:31, wrote: > --- a/xen/arch/x86/xen.lds.S > +++ b/xen/arch/x86/xen.lds.S > @@ -65,6 +65,12 @@ SECTIONS > > *(.rodata) > *(.rodata.*) > + > +#ifdef LOCK_PROFILE > + __lock_profile_start = .; > + *(.lockprofile.data) > + __lock_profile_end =

[Xen-devel] [PATCH v2 1/8] xen/lockprof: Move .lockprofile.data into .rodata

2016-02-23 Thread Andrew Cooper
The entire contents of .lockprofile.data are unchanging pointers to lock_profile structure in .data. Annotate the type as such, and link the section in .rodata. As these are just pointers, there is no need for 32byte alignment. Signed-off-by: Andrew Cooper --- CC: Jan Beulich CC: Ian Campbell