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

Submitted by Konstantin Khorenko on Dec. 13, 2016, 12:01 p.m.

Details

Message ID 201612131201.uBDC1MjN029079@finist_cl7.x64_64.work.ct
State New
Series "kexec: reserve 256+64 = 320M for debug kernels"
Headers show

Commit Message

Konstantin Khorenko Dec. 13, 2016, 12:01 p.m.
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@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@virtuozzo.com>
    Signed-off-by: Dmitry Safonov <dsafonov@virtuozzo.com>
---
 include/asm-generic/kexec.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch hide | download patch | download mbox

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