From b97871c4935d8baef0f4a7feb28c70bf22383268 Mon Sep 17 00:00:00 2001 From: haoyun Date: Mon, 13 Dec 2021 14:27:21 +0800 Subject: [PATCH] fix: atomic operations on 32-byte device Signed-off-by: haoyun --- manager/container.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/manager/container.go b/manager/container.go index db2e2b113b..a5f2040a6f 100644 --- a/manager/container.go +++ b/manager/container.go @@ -64,6 +64,7 @@ type containerInfo struct { } type containerData struct { + oomEvents uint64 handler container.ContainerHandler info containerInfo memoryCache *memory.InMemoryCache @@ -103,8 +104,6 @@ type containerData struct { // resctrlCollector updates stats for resctrl controller. resctrlCollector stats.Collector - - oomEvents uint64 } // jitter returns a time.Duration between duration and duration + maxFactor * duration,