Message ID | 20231228131056.602411-7-artem.kuzin@huawei.com (mailing list archive) |
---|---|
State | New |
Headers | show |
Series | x86 NUMA-aware kernel replication | expand |
diff --git a/arch/x86/kernel/vmlinux.lds.S b/arch/x86/kernel/vmlinux.lds.S index f15fb71f280e..3841293e7aad 100644 --- a/arch/x86/kernel/vmlinux.lds.S +++ b/arch/x86/kernel/vmlinux.lds.S @@ -159,11 +159,11 @@ SECTIONS } :text = 0xcccccccc /* End of text section, which should occupy whole number of pages */ + . = ALIGN(HPAGE_SIZE); //For kernel replication _etext = .; - . = ALIGN(PAGE_SIZE); X86_ALIGN_RODATA_BEGIN - RO_DATA(PAGE_SIZE) + RO_DATA(HPAGE_SIZE) X86_ALIGN_RODATA_END /* Data */