diff --git a/src/runtime/mgc.go b/src/runtime/mgc.go index 2f0b063fbd9..c1193084416 100644 --- a/src/runtime/mgc.go +++ b/src/runtime/mgc.go @@ -282,8 +282,9 @@ var work workType type workType struct { full lfstack // lock-free list of full blocks workbuf + _ cpu.CacheLinePad // prevents false-sharing between full and empty empty lfstack // lock-free list of empty blocks workbuf - pad0 cpu.CacheLinePad // prevents false-sharing between full/empty and nproc/nwait + _ cpu.CacheLinePad // prevents false-sharing between empty and nproc/nwait wbufSpans struct { lock mutex