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-next>] [day] [month] [year] [list]
Message-Id: <20210414024436.30128-1-teawater@gmail.com>
Date:   Wed, 14 Apr 2021 10:44:36 +0800
From:   Hui Zhu <teawater@...il.com>
To:     wufengguang@...wei.com, linux-kernel@...r.kernel.org
Cc:     Hui Zhu <teawater@...fin.com>
Subject: [PATCH for vm-scalability] usemem: Output a message after punch holes done

From: Hui Zhu <teawater@...fin.com>

When I use punch holes to setup a test page fragmentation environment, I
didn't know when the punch holes done.  I can only get this information
through top or something else.

This commit add code to output a message after punch holes done to
handle this issue.

Signed-off-by: Hui Zhu <teawater@...fin.com>
---
 usemem.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/usemem.c b/usemem.c
index 5b90aae..0c76d17 100644
--- a/usemem.c
+++ b/usemem.c
@@ -791,6 +791,8 @@ long do_units(void)
 			for (i = 0; i < nptr; i++)
 				do_punch_holes(ptrs[i], lens[i]);
 		}
+		printf("punch holes done\n");
+		fflush(stdout);
 	}
 
 	while (sleep_secs)
-- 
1.8.3.1

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ