diff options
| author | Aleksandr Nogikh <nogikh@google.com> | 2023-01-02 17:49:22 +0100 |
|---|---|---|
| committer | Aleksandr Nogikh <wp32pw@gmail.com> | 2023-01-19 11:26:54 +0100 |
| commit | 4ac68196f128fe22ddd1e5b57d021c70f19e4894 (patch) | |
| tree | 2afb6304deb57af561271568c4adf58d8ba9584a /syz-ci/syz-ci.go | |
| parent | 4bd62a18b32a876e5ef2b024e454ccf793849050 (diff) | |
syz-ci: move build semaphore closer to builds
Currently it's held during the whole job processing, which can take too
long.
Adjust it so that it's only taken when we really begin to build the
kernel or syzkaller.
Diffstat (limited to 'syz-ci/syz-ci.go')
| -rw-r--r-- | syz-ci/syz-ci.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/syz-ci/syz-ci.go b/syz-ci/syz-ci.go index 790a29f86..f877cfbfc 100644 --- a/syz-ci/syz-ci.go +++ b/syz-ci/syz-ci.go @@ -219,7 +219,7 @@ func main() { case <-shutdownPending: case <-updatePending: } - kernelBuildSem <- struct{}{} // wait for all current builds + buildSem.WaitAll() // wait for all current builds close(stop) wg.Done() }() |
