[PATCH 01/16] [PATCH v3 1/12] Introduce cyclic mode to keep memory usage constant.

HATAYAMA Daisuke d.hatayama at jp.fujitsu.com
Sun Sep 2 22:50:57 EDT 2012


From: Atsushi Kumagai <kumagai-atsushi at mxc.nes.nec.co.jp>
Subject: [PATCH 01/16] [PATCH v3 1/12] Introduce cyclic mode to keep memory usage constant.
Date: Thu, 30 Aug 2012 16:45:21 +0900

<cut>

> diff --git a/makedumpfile.c b/makedumpfile.c
> index d024e95..21bb55a 100644
> --- a/makedumpfile.c
> +++ b/makedumpfile.c
> @@ -2553,6 +2553,8 @@ initial(void)
>  							info->name_memory);
>  			return FALSE;
>  		}
> +		info->flag_cyclic = FALSE;
> +

Please disable cyclic mode on sadump dumpfiles, too.


    sadump: Disable cyclic mode on sadump dumpfiles

    Signed-off-by: HATAYAMA Daisuke <d.hatayama at jp.fujitsu.com>

diff --git a/makedumpfile.c b/makedumpfile.c
index 0a43181..9f5e8ed 100644
--- a/makedumpfile.c
+++ b/makedumpfile.c
@@ -2587,6 +2587,8 @@ initial(void)
                        return FALSE;
                }

+               info->flag_cyclic = FALSE;
+
                set_page_size(sadump_page_size());

                if (!sadump_initialize_bitmap_memory())


Thanks.
HATAYAMA, Daisuke




More information about the kexec mailing list