Skip to content

Commit 92145d8

Browse files
brooniewilldeacon
authored andcommitted
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: Mark Brown <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Will Deacon <[email protected]>
1 parent 98102a2 commit 92145d8

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

tools/testing/selftests/arm64/fp/fp-stress.c

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,6 @@ static struct child_data *children;
4242
static int num_children;
4343
static bool terminate;
4444

45-
static void drain_output(bool flush);
46-
4745
static int startup_pipe[2];
4846

4947
static int num_processors(void)
@@ -138,12 +136,6 @@ static void child_start(struct child_data *child, const char *program)
138136
ksft_exit_fail_msg("%s EPOLL_CTL_ADD failed: %s (%d)\n",
139137
child->name, strerror(errno), errno);
140138
}
141-
142-
/*
143-
* Keep output flowing during child startup so logs
144-
* are more timely, can help debugging.
145-
*/
146-
drain_output(false);
147139
}
148140
}
149141

0 commit comments

Comments
 (0)