aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/mpagealloc.go
diff options
context:
space:
mode:
authorCuong Manh Le <cuong.manhle.vn@gmail.com>2022-08-19 18:35:42 +0700
committerGopher Robot <gobot@golang.org>2022-08-19 15:53:47 +0000
commitf324355d1f482362b87ec4f95ceac00d4b4de797 (patch)
tree6674a1374df196e2dc966063b5e612e0b042beaa /src/runtime/mpagealloc.go
parent6001c043dc067b7f6b9a2e934439b6a7948f92ef (diff)
downloadgo-f324355d1f482362b87ec4f95ceac00d4b4de797.tar.xz
runtime: remove pageAlloc.scav padding for atomic field alignment
CL 404096 makes atomic.Int64 8 bytes aligned everywhere. Change-Id: I5a676f646260d6391bb071f9376cbdb1553e6e6f Reviewed-on: https://go-review.googlesource.com/c/go/+/424925 Auto-Submit: Cuong Manh Le <cuong.manhle.vn@gmail.com> Reviewed-by: Joedian Reid <joedian@golang.org> TryBot-Result: Gopher Robot <gobot@golang.org> Run-TryBot: Cuong Manh Le <cuong.manhle.vn@gmail.com> Reviewed-by: Michael Knyszek <mknyszek@google.com>
Diffstat (limited to 'src/runtime/mpagealloc.go')
-rw-r--r--src/runtime/mpagealloc.go2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/runtime/mpagealloc.go b/src/runtime/mpagealloc.go
index 5de25cfe00..bb30b4a40b 100644
--- a/src/runtime/mpagealloc.go
+++ b/src/runtime/mpagealloc.go
@@ -280,8 +280,6 @@ type pageAlloc struct {
// Updated atomically.
released uintptr
- _ uint32 // Align assistTime for atomics on 32-bit platforms.
-
// scavengeAssistTime is the time spent scavenging in the last GC cycle.
//
// This is reset once a GC cycle ends.