projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
98102a2
)
kselftest/arm64: Don't drain output while spawning children
author
Mark Brown
<broonie@kernel.org>
Tue, 29 Nov 2022 21:59:24 +0000
(21:59 +0000)
committer
Will Deacon
<will@kernel.org>
Thu, 1 Dec 2022 17:46:45 +0000
(17:46 +0000)
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 <broonie@kernel.org>
Link:
https://lore.kernel.org/r/20221129215926.442895-3-broonie@kernel.org
Signed-off-by: Will Deacon <will@kernel.org>
tools/testing/selftests/arm64/fp/fp-stress.c
patch
|
blob
|
history
diff --git
a/tools/testing/selftests/arm64/fp/fp-stress.c
b/tools/testing/selftests/arm64/fp/fp-stress.c
index 7c04f500164888efc5efe724ec8045628e63ebf9..b3bbfe8d9f566066e537b71602dbfcfbe91d47a8 100644
(file)
--- a/
tools/testing/selftests/arm64/fp/fp-stress.c
+++ b/
tools/testing/selftests/arm64/fp/fp-stress.c
@@
-42,8
+42,6
@@
static struct child_data *children;
static int num_children;
static bool terminate;
-static void drain_output(bool flush);
-
static int startup_pipe[2];
static int num_processors(void)
@@
-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",
child->name, strerror(errno), errno);
}
-
- /*
- * Keep output flowing during child startup so logs
- * are more timely, can help debugging.
- */
- drain_output(false);
}
}