[PATCH 14/15] arm64: prepare for 64k pages

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

 



This changes the layout for arm too, but that's fine. The only
thing to keep in mind is that while arm64 will have a single
64k page for its stack, arm will have 16 4k pages. If the number
of stack pages matters, then unit tests that want to work for
both arm and arm64, may need to avoid using more than one page,
even though the memory is there.

Signed-off-by: Andrew Jones <drjones@xxxxxxxxxx>
---
 arm/flat.lds | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/arm/flat.lds b/arm/flat.lds
index ee9fc0ab79abc..89a55720d728f 100644
--- a/arm/flat.lds
+++ b/arm/flat.lds
@@ -2,10 +2,10 @@
 SECTIONS
 {
     .text : { *(.init) *(.text) *(.text.*) }
-    . = ALIGN(4K);
+    . = ALIGN(64K);
     .data : {
         exception_stacks = .;
-        . += 4K;
+        . += 64K;
         exception_stacks_end = .;
         *(.data)
     }
@@ -13,10 +13,10 @@ SECTIONS
     .rodata : { *(.rodata) }
     . = ALIGN(16);
     .bss : { *(.bss) }
-    . = ALIGN(4K);
+    . = ALIGN(64K);
     edata = .;
-    . += 8K;
-    . = ALIGN(4K);
+    . += 64K;
+    . = ALIGN(64K);
     stacktop = .;
 }
 
-- 
1.9.3

_______________________________________________
kvmarm mailing list
kvmarm@xxxxxxxxxxxxxxxxxxxxx
https://lists.cs.columbia.edu/mailman/listinfo/kvmarm




[Index of Archives]     [Linux KVM]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux