mirror of
https://github.com/golang/go
synced 2024-11-08 01:36:12 -07:00
7b9c2c1950
Add a CacheLinePad struct type to internal/cpu that has a size of CacheLineSize. This can be used for padding structs in order to avoid false sharing. Updates #25203 Change-Id: Icb95ae68d3c711f5f8217140811cad1a1d5be79a Reviewed-on: https://go-review.googlesource.com/116276 Run-TryBot: Martin Möhrmann <moehrmann@google.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org> |
||
---|---|---|
.. | ||
cpu_386.go | ||
cpu_amd64.go | ||
cpu_amd64p32.go | ||
cpu_arm64_test.go | ||
cpu_arm64.go | ||
cpu_arm.go | ||
cpu_mips64.go | ||
cpu_mips64le.go | ||
cpu_mips.go | ||
cpu_mipsle.go | ||
cpu_no_init.go | ||
cpu_ppc64x_test.go | ||
cpu_ppc64x.go | ||
cpu_s390x_test.go | ||
cpu_s390x.go | ||
cpu_s390x.s | ||
cpu_test.go | ||
cpu_wasm.go | ||
cpu_x86_test.go | ||
cpu_x86.go | ||
cpu_x86.s | ||
cpu.go | ||
export_test.go |