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.go7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/runtime/mpagealloc_64bit.go b/src/runtime/mpagealloc_64bit.go
index dc9ae8c8d6..1e6cb5f2f2 100644
--- a/src/runtime/mpagealloc_64bit.go
+++ b/src/runtime/mpagealloc_64bit.go
@@ -17,6 +17,13 @@ const (
// Constants for testing.
pageAlloc32Bit = 0
pageAlloc64Bit = 1
+
+ // Number of bits needed to represent all indices into the L1 of the
+ // chunks map.
+ //
+ // See (*pageAlloc).chunks for more details. Update the documentation
+ // there should this number change.
+ pallocChunksL1Bits = 13
)
// levelBits is the number of bits in the radix for a given level in the super summary