提交 92145d88 编写于 作者: M Mark Brown 提交者: Will Deacon

kselftest/arm64: Don't drain output while spawning children

Now we hold execution of the stress test programs until all children are
started there is no need to drain output while that is happening.
Signed-off-by: NMark Brown <broonie@kernel.org>
Link: https://lore.kernel.org/r/20221129215926.442895-3-broonie@kernel.orgSigned-off-by: NWill Deacon <will@kernel.org>
上级 98102a2c
...@@ -42,8 +42,6 @@ static struct child_data *children; ...@@ -42,8 +42,6 @@ static struct child_data *children;
static int num_children; static int num_children;
static bool terminate; static bool terminate;
static void drain_output(bool flush);
static int startup_pipe[2]; static int startup_pipe[2];
static int num_processors(void) static int num_processors(void)
...@@ -138,12 +136,6 @@ static void child_start(struct child_data *child, const char *program) ...@@ -138,12 +136,6 @@ static void child_start(struct child_data *child, const char *program)
ksft_exit_fail_msg("%s EPOLL_CTL_ADD failed: %s (%d)\n", ksft_exit_fail_msg("%s EPOLL_CTL_ADD failed: %s (%d)\n",
child->name, strerror(errno), errno); child->name, strerror(errno), errno);
} }
/*
* Keep output flowing during child startup so logs
* are more timely, can help debugging.
*/
drain_output(false);
} }
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册