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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Atsushi Kumagai <kumagai-atsushi@xxxxxxxxxxxxxxxxx>
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




[Index of Archives]     [LM Sensors]     [Linux Sound]     [ALSA Users]     [ALSA Devel]     [Linux Audio Users]     [Linux Media]     [Kernel]     [Gimp]     [Yosemite News]     [Linux Media]

  Powered by Linux