aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/mpagealloc_64bit.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/runtime/mpagealloc_64bit.go')
-rw-r--r--src/runtime/mpagealloc_64bit.go14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/runtime/mpagealloc_64bit.go b/src/runtime/mpagealloc_64bit.go
new file mode 100644
index 0000000000..7991f344fc
--- /dev/null
+++ b/src/runtime/mpagealloc_64bit.go
@@ -0,0 +1,14 @@
+// Copyright 2019 The Go Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
+// +build amd64 !darwin,arm64 mips64 mips64le ppc64 ppc64le s390x
+
+// See mpagealloc_32bit.go for why darwin/arm64 is excluded here.
+
+package runtime
+
+const (
+ // The number of levels in the radix tree.
+ summaryLevels = 5
+)