mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
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>
This commit is contained in:
parent
e6135c2768
commit
33dfd3529b
8 changed files with 26 additions and 1605 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue