diff options
author | Hui Zhu <teawater@antfin.com> | 2021-04-14 10:44:36 +0800 |
---|---|---|
committer | Wu Fengguang <wfg@mail.ustc.edu.cn> | 2021-04-16 16:46:18 +0800 |
commit | bd40585ad77dc6ccc422485d87dca51aa3031829 (patch) | |
tree | 6d78fd79eeab48014c5a27255c10f3b84e018a3a | |
parent | 3f9c6c227120db43873d1af20cea3f374eb99592 (diff) | |
download | vm-scalability-bd40585ad77dc6ccc422485d87dca51aa3031829.tar.gz |
usemem: Output a message after punch holes done
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@antfin.com>
Signed-off-by: Wu Fengguang <wfg@mail.ustc.edu.cn>
-rw-r--r-- | usemem.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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) |