From 33dfd3529b8a761739da00da88eb13d39300a679 Mon Sep 17 00:00:00 2001 From: Michael Anthony Knyszek Date: Wed, 4 Sep 2019 16:12:10 +0000 Subject: 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 TryBot-Result: Gobot Gobot Reviewed-by: Austin Clements --- src/runtime/malloc.go | 3 --- 1 file changed, 3 deletions(-) (limited to 'src/runtime/malloc.go') 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. -- cgit v1.3