We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents f7dd103 + 7a551d7 commit 29da22cCopy full SHA for 29da22c
1 file changed
cgroup.go
@@ -310,7 +310,8 @@ func (c *cgroup) Thaw() error {
310
}
311
312
// OOMEventFD returns the memory cgroup's out of memory event fd that triggers
313
-// when processes inside the cgroup receive an oom event
+// when processes inside the cgroup receive an oom event. Returns
314
+// ErrMemoryNotSupported if memory cgroups is not supported.
315
func (c *cgroup) OOMEventFD() (uintptr, error) {
316
c.mu.Lock()
317
defer c.mu.Unlock()
0 commit comments