lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20131105134553.32112.58435.stgit@k.asiapacific.hpqcorp.net>
Date:	Tue, 05 Nov 2013 21:45:53 +0800
From:	Jingbai Ma <jingbai.ma@...com>
To:	ptesarik@...e.cz, d.hatayama@...fujitsu.com,
	kumagai-atsushi@....nes.nec.co.jp
Cc:	bhe@...hat.com, tom.vaden@...com, kexec@...ts.infradead.org,
	linux-kernel@...r.kernel.org, lisa.mitchell@...com,
	anderson@...hat.com, ebiederm@...ssion.com, vgoyal@...hat.com
Subject: [PATCH 2/3] makedumpfile: hugepage filtering: add excluding
 hugepage messages

Add messages for print_info.

Signed-off-by: Jingbai Ma <jingbai.ma@...com>
---
 print_info.c |   12 +++++++-----
 print_info.h |    2 ++
 2 files changed, 9 insertions(+), 5 deletions(-)

diff --git a/print_info.c b/print_info.c
index 06939e0..978d9fb 100644
--- a/print_info.c
+++ b/print_info.c
@@ -103,17 +103,19 @@ print_usage(void)
 	MSG("      The maximum of Dump_Level is 31.\n");
 	MSG("      Note that Dump_Level for Xen dump filtering is 0 or 1.\n");
 	MSG("\n");
-	MSG("            |         cache    cache\n");
-	MSG("      Dump  |  zero   without  with     user    free\n");
-	MSG("      Level |  page   private  private  data    page\n");
-	MSG("     -------+---------------------------------------\n");
+	MSG("            |         cache    cache                    free    active\n");
+	MSG("      Dump  |  zero   without  with     user    free    huge    huge\n");
+	MSG("      Level |  page   private  private  data    page    page    page\n");
+	MSG("     -------+----------------------------------------------------------\n");
 	MSG("         0  |\n");
 	MSG("         1  |   X\n");
 	MSG("         2  |           X\n");
 	MSG("         4  |           X        X\n");
 	MSG("         8  |                            X\n");
 	MSG("        16  |                                    X\n");
-	MSG("        31  |   X       X        X       X       X\n");
+	MSG("        32  |                                            X\n");
+	MSG("        64  |                                            X       X\n");
+	MSG("       127  |   X       X        X       X       X       X       X\n");
 	MSG("\n");
 	MSG("  [-E]:\n");
 	MSG("      Create DUMPFILE in the ELF format.\n");
diff --git a/print_info.h b/print_info.h
index 01e3706..8461df6 100644
--- a/print_info.h
+++ b/print_info.h
@@ -35,6 +35,8 @@ void print_execution_time(char *step_name, struct timeval *tv_start);
 #define PROGRESS_HOLES		"Checking for memory holes  "
 #define PROGRESS_UNN_PAGES 	"Excluding unnecessary pages"
 #define PROGRESS_FREE_PAGES 	"Excluding free pages       "
+#define PROGRESS_FREE_HUGE	"Excluding free huge pages  "
+#define PROGRESS_ACTIVE_HUGE	"Excluding active huge pages"
 #define PROGRESS_ZERO_PAGES 	"Excluding zero pages       "
 #define PROGRESS_XEN_DOMAIN 	"Excluding xen user domain  "
 

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ