mirror of
https://github.com/golang/go
synced 2024-11-25 07:07:57 -07:00
add 64 bytes padding to seperate the data into different cacheline to fix HITM issue across CPU sockets
This commit is contained in:
parent
bab79dd362
commit
d08c3987b6
@ -134,6 +134,9 @@ type mheap struct {
|
||||
// This is accessed atomically.
|
||||
reclaimCredit uintptr
|
||||
|
||||
//add 64 bytes padding to seperate the data into different cacheline to fix HITM issue across CPU sockets
|
||||
_ [8]uint64
|
||||
|
||||
// arenas is the heap arena map. It points to the metadata for
|
||||
// the heap for every arena frame of the entire usable virtual
|
||||
// address space.
|
||||
|
Loading…
Reference in New Issue
Block a user