[Devel] [PATCH RHEL7 COMMIT] kexec, kasan: increase KEXEC_AUTO_RESERVED_SIZE under CONFIG_KASAN=y up to 1G
Konstantin Khorenko
khorenko at virtuozzo.com
Mon Nov 26 18:53:14 MSK 2018
The commit is pushed to "branch-rh7-3.10.0-957.vz7.82.x-ovz" and will appear at https://src.openvz.org/scm/ovz/vzkernel.git
after rh7-3.10.0-957.vz7.82.2
------>
commit 68277feb6188029406d5dd84e2393f247de90893
Author: Konstantin Khorenko <khorenko at virtuozzo.com>
Date: Mon Nov 26 18:49:38 2018 +0300
kexec, kasan: increase KEXEC_AUTO_RESERVED_SIZE under CONFIG_KASAN=y up to 1G
We again faced a situation when kdump did not dump memory image
using default settings (320M) on debug kernel, but worked fine with
"crashkernel=1G" boot param.
Let's increase default crashkernel memory size up to 1G.
Previous increase:
8cd04a839dbd ("kexec, kasan: increase KEXEC_AUTO_RESERVED_SIZE under CONFIG_KASAN=y")
Signed-off-by: Konstantin Khorenko <khorenko at virtuozzo.com>
---
include/asm-generic/kexec.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/asm-generic/kexec.h b/include/asm-generic/kexec.h
index a4325eb15fc9..ea828613ce01 100644
--- a/include/asm-generic/kexec.h
+++ b/include/asm-generic/kexec.h
@@ -7,7 +7,7 @@
#ifndef CONFIG_KASAN
#define KEXEC_AUTO_RESERVED_SIZE ((1ULL<<27) + (1ULL<<25)) /* 160M */
#else
-#define KEXEC_AUTO_RESERVED_SIZE ((1ULL<<28) + (1ULL<<26)) /* 320M */
+#define KEXEC_AUTO_RESERVED_SIZE (1ULL<<30) /* 1G */
#endif
#endif
#ifndef KEXEC_AUTO_THRESHOLD
More information about the Devel
mailing list