|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [xen master] x86/boot: re-order .init.data contributions
commit 35910ed65f1d188774ce90ba9898ca33f7a9fe4d
Author: Jan Beulich <jbeulich@xxxxxxxx>
AuthorDate: Thu Apr 3 09:39:52 2025 +0200
Commit: Jan Beulich <jbeulich@xxxxxxxx>
CommitDate: Thu Apr 3 09:39:52 2025 +0200
x86/boot: re-order .init.data contributions
Putting a few bytes ahead of page tables isn't very efficient; there's
a gap almost worth a full page. To avoid re-ordering of items in the
source file, simply put the few small items in sub-section 1, for them
to end up after the page tables, followed (in the final binary) by non-
page-aligned items from other CUs.
Signed-off-by: Jan Beulich <jbeulich@xxxxxxxx>
Reviewed-by: Jason Andryuk <jason.andryuk@xxxxxxx>
---
xen/arch/x86/boot/head.S | 1 +
1 file changed, 1 insertion(+)
diff --git a/xen/arch/x86/boot/head.S b/xen/arch/x86/boot/head.S
index 81473578fe..77bb7a9e21 100644
--- a/xen/arch/x86/boot/head.S
+++ b/xen/arch/x86/boot/head.S
@@ -136,6 +136,7 @@ multiboot2_header:
.Lno_nx_msg: .asciz "ERR: Not an NX-capable CPU!"
.section .init.data, "aw", @progbits
+ .subsection 1 /* Put data here after the page tables (in x86_64.S). */
.align 4
.word 0
--
generated by git-patchbot for /home/xen/git/xen.git#master
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |