-
Notifications
You must be signed in to change notification settings - Fork 263
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove blocking wait on container exit for every exec created (#1604)
Commit fixes the memory leak seen in the shim. It removes creation of channel that waits on container exit for every new exec. Instead, the container wait channel is exposed through WaitChannel() function which callers can use to decide if container has exited or not. Signed-off-by: Kirtana Ashok <Kirtana.Ashok@microsoft.com> (cherry picked from commit 5fc00c5) Signed-off-by: Kirtana Ashok <Kirtana.Ashok@microsoft.com> Signed-off-by: Kirtana Ashok <Kirtana.Ashok@microsoft.com> Co-authored-by: Kirtana Ashok <Kirtana.Ashok@microsoft.com>
- Loading branch information
Showing
8 changed files
with
112 additions
and
44 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 6 additions & 0 deletions
6
test/vendor/github.com/Microsoft/hcsshim/internal/cow/cow.go
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
50 changes: 34 additions & 16 deletions
50
test/vendor/github.com/Microsoft/hcsshim/internal/gcs/container.go
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
12 changes: 10 additions & 2 deletions
12
test/vendor/github.com/Microsoft/hcsshim/internal/hcs/system.go
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.