[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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



>>> On 05.06.15 at 15:31, <andrew.cooper3@xxxxxxxxxx> wrote:
> Both the trampoline copy and BSS initialise can be performed more efficiently
> by using 4-byte varients of the string operations.

On second thought I'm actually not convinced of this: With
X86_FEATURE_ERMS using byte MOVS/STOS is supposedly
preferred.

> --- a/xen/arch/x86/xen.lds.S
> +++ b/xen/arch/x86/xen.lds.S
> @@ -153,11 +153,13 @@ SECTIONS
>         __xsm_initcall_start = .;
>         *(.xsm_initcall.init)
>         __xsm_initcall_end = .;
> +
> +       . = ALIGN(PAGE_SIZE);
>    } :text
> -  . = ALIGN(STACK_SIZE);
>    __init_end = .;

Perhaps worth also moving the symbol into the section?

Jan


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.