kdump/kdump-calibrate-update-kernel-text-data-size.patch

98 lines
2.4 KiB
Diff
Raw Normal View History

From: Petr Tesarik <ptesarik@suse.com>
Date: Thu, 8 Feb 2018 18:29:20 +0100
Subject: calibrate: Update kernel text+data size
Upstream: merged
Git-commit: b7905e9aa93712e4fa25aec1213fa412318f0c7a
Kernel size has (more than) doubled. This constant should be
configurable in fact...
Signed-off-by: Petr Tesarik <ptesarik@suse.com>
---
kdumptool/calibrate.cc | 18 +++++++++---------
1 file changed, 9 insertions(+), 9 deletions(-)
--- a/kdumptool/calibrate.cc
+++ b/kdumptool/calibrate.cc
@@ -59,7 +59,7 @@
#if defined(__x86_64__)
# define DEF_RESERVE_KB MB(128)
-# define KERNEL_KB MB(16)
+# define KERNEL_KB MB(32)
# define KERNEL_INIT_KB MB(5)
# define INIT_KB MB(34)
# define INIT_NET_KB MB(3)
@@ -70,7 +70,7 @@
#elif defined(__i386__)
# define DEF_RESERVE_KB MB(128)
-# define KERNEL_KB MB(14)
+# define KERNEL_KB MB(28)
# define KERNEL_INIT_KB MB(4)
# define INIT_KB MB(29)
# define INIT_NET_KB MB(2)
@@ -81,7 +81,7 @@
#elif defined(__powerpc64__)
# define DEF_RESERVE_KB MB(256)
-# define KERNEL_KB MB(16)
+# define KERNEL_KB MB(32)
# define KERNEL_INIT_KB MB(5)
# define INIT_KB MB(58)
# define INIT_NET_KB MB(4)
@@ -92,7 +92,7 @@
#elif defined(__powerpc__)
# define DEF_RESERVE_KB MB(128)
-# define KERNEL_KB MB(12)
+# define KERNEL_KB MB(24)
# define KERNEL_INIT_KB MB(5)
# define INIT_KB MB(34)
# define INIT_NET_KB MB(2)
@@ -103,7 +103,7 @@
#elif defined(__s390x__)
# define DEF_RESERVE_KB MB(128)
-# define KERNEL_KB MB(13)
+# define KERNEL_KB MB(26)
# define KERNEL_INIT_KB 512
# define INIT_KB MB(34)
# define INIT_NET_KB MB(2)
@@ -116,7 +116,7 @@
#elif defined(__s390__)
# define DEF_RESERVE_KB MB(128)
-# define KERNEL_KB MB(12)
+# define KERNEL_KB MB(24)
# define KERNEL_INIT_KB 512
# define INIT_KB MB(29)
# define INIT_NET_KB MB(2)
@@ -129,7 +129,7 @@
#elif defined(__ia64__)
# define DEF_RESERVE_KB MB(512)
-# define KERNEL_KB MB(32)
+# define KERNEL_KB MB(64)
# define KERNEL_INIT_KB MB(3)
# define INIT_KB MB(44)
# define INIT_NET_KB MB(4)
@@ -140,7 +140,7 @@
#elif defined(__aarch64__)
# define DEF_RESERVE_KB MB(128)
-# define KERNEL_KB MB(10)
+# define KERNEL_KB MB(26)
# define KERNEL_INIT_KB MB(1)
# define INIT_KB MB(29)
# define INIT_NET_KB MB(2)
@@ -151,7 +151,7 @@
#elif defined(__arm__)
# define DEF_RESERVE_KB MB(128)
-# define KERNEL_KB MB(12)
+# define KERNEL_KB MB(24)
# define KERNEL_INIT_KB MB(1)
# define INIT_KB MB(29)
# define INIT_NET_KB MB(2)