usemem: Output a message after punch holes done
PATCH 1/1 usemem: Output a message after punch holes done
From: Hui Zhu <[email protected]>
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 <[email protected]>
--- usemem.c | 2 ++ 1 file changed, 2 insertions(+)
usemem.c +2 -0
@@ -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)
Signature · 1 line
1.8.3.1
Wu Fengguang
AppliedApplied, thanks!