Re: [Xen-devel] [PATCH] x86/boot: Move/copy sections more efficiently

2015-09-29 Thread Andrew Cooper
On 24/09/15 10:52, Jan Beulich wrote: On 24.09.15 at 10:14, wrote: >> The ALIGN(STACK_SIZE) actually belongs with .bss.stack_aligned, but >> __init_end still needs page alignment because of the init sections being >> freed and returned to the domheap after boot. > Logically that change makes

Re: [Xen-devel] [PATCH] x86/boot: Move/copy sections more efficiently

2015-09-24 Thread Jan Beulich
>>> On 24.09.15 at 10:14, wrote: > The ALIGN(STACK_SIZE) actually belongs with .bss.stack_aligned, but > __init_end still needs page alignment because of the init sections being > freed and returned to the domheap after boot. Logically that change makes sense, but ... > --- a/xen/arch/x86/xen.ld

[Xen-devel] [PATCH] x86/boot: Move/copy sections more efficiently

2015-09-24 Thread Andrew Cooper
Both the trampoline copy and BSS initialise can be performed more efficiently by using 4-byte variants of the string operations. The ALIGN(STACK_SIZE) actually belongs with .bss.stack_aligned, but __init_end still needs page alignment because of the init sections being freed and returned to the do