aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/malloc.go
diff options
context:
space:
mode:
authorMichael Anthony Knyszek <mknyszek@google.com>2019-09-04 16:12:10 +0000
committerMichael Knyszek <mknyszek@google.com>2019-11-08 00:07:43 +0000
commit33dfd3529b8a761739da00da88eb13d39300a679 (patch)
treef0d2a316d0de7d90824895c4756cadbe7e6a8f33 /src/runtime/malloc.go
parente6135c27682988a490166629f6a52f5102791bcb (diff)
downloadgo-33dfd3529b8a761739da00da88eb13d39300a679.tar.xz
runtime: remove old page allocator
This change removes the old page allocator from the runtime. Updates #35112. Change-Id: Ib20e1c030f869b6318cd6f4288a9befdbae1b771 Reviewed-on: https://go-review.googlesource.com/c/go/+/195700 Run-TryBot: Michael Knyszek <mknyszek@google.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Austin Clements <austin@google.com>
Diffstat (limited to 'src/runtime/malloc.go')
-rw-r--r--src/runtime/malloc.go3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/runtime/malloc.go b/src/runtime/malloc.go
index ef1c975cea..754cfb72fb 100644
--- a/src/runtime/malloc.go
+++ b/src/runtime/malloc.go
@@ -317,9 +317,6 @@ const (
//
// This should agree with minZeroPage in the compiler.
minLegalPointer uintptr = 4096
-
- // Whether to use the old page allocator or not.
- oldPageAllocator = false
)
// physPageSize is the size in bytes of the OS's physical pages.