-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[cgroups2] Use OomListener in MemoryControllerProcess.
The MemoryControllerProcess needs an OomListener to ensure that it does not need to listen for oom events by polling, which causes race conditions with the oom killer. We spawn an OomListener in the MemoryControllerProcess and use it to listen for oom events in any cgroup via oomListen(). Review: https://reviews.apache.org/r/75185/
- Loading branch information
Showing
2 changed files
with
20 additions
and
5 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