[Devel] [PATCH RHEL7 COMMIT] ve/kexec: reserve 256+64 = 320M for debug kernels

Konstantin Khorenko khorenko at virtuozzo.com
Tue Dec 13 04:01:22 PST 2016


The commit is pushed to "branch-rh7-3.10.0-327.36.1.vz7.20.x-ovz" and will appear at https://src.openvz.org/scm/ovz/vzkernel.git
after rh7-3.10.0-327.36.1.vz7.20.14
------>
commit 6be3b056a6365bf3c366fadeb64985d9c10c0494
Author: Dmitry Safonov <dsafonov at virtuozzo.com>
Date:   Tue Dec 13 16:01:22 2016 +0400

    ve/kexec: reserve 256+64 = 320M for debug kernels
    
    Crashdump collection succeed on 256Mb kdumping, but fires OOM - set 320Mb
    limit.
    
    https://jira.sw.ru/browse/PSBM-56847
    
    Cc: Andrey Ryabinin <aryabinin at virtuozzo.com>
    Signed-off-by: Dmitry Safonov <dsafonov 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 ab22eaf..a4325eb 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<<27) + (1ULL<<26)) /* 196M */
+#define KEXEC_AUTO_RESERVED_SIZE ((1ULL<<28) + (1ULL<<26)) /* 320M */
 #endif
 #endif
 #ifndef KEXEC_AUTO_THRESHOLD


More information about the Devel mailing list