]> Cypherpunks repositories - gostls13.git/commit
runtime: remove alignment padding in mheap and pageAlloc
authorMichael Anthony Knyszek <mknyszek@google.com>
Wed, 7 Sep 2022 20:11:00 +0000 (20:11 +0000)
committerGopher Robot <gobot@golang.org>
Thu, 8 Sep 2022 16:06:00 +0000 (16:06 +0000)
commite28cc362a825b297fa8a10dc95d7c0d2e2b21dfc
treed39f0264ff9490ea1b69850ab3e37a4adcb05af8
parent1c59199c919419293075ac9c93b27b033e2733f9
runtime: remove alignment padding in mheap and pageAlloc

All subfields use atomic types to ensure alignment, so there's no more
need for these fields.

Change-Id: Iada4253f352a074073ce603f1f6b07cbd5b7c58a
Reviewed-on: https://go-review.googlesource.com/c/go/+/429220
Run-TryBot: Michael Knyszek <mknyszek@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Auto-Submit: Michael Knyszek <mknyszek@google.com>
Reviewed-by: Keith Randall <khr@google.com>
Reviewed-by: Keith Randall <khr@golang.org>
src/runtime/mheap.go
src/runtime/mpagealloc.go