]> Cypherpunks repositories - gostls13.git/commit
runtime: add new page allocator core
authorMichael Anthony Knyszek <mknyszek@google.com>
Wed, 14 Aug 2019 16:32:12 +0000 (16:32 +0000)
committerMichael Knyszek <mknyszek@google.com>
Thu, 7 Nov 2019 19:11:26 +0000 (19:11 +0000)
commit39e8cb0faac7785f89b21246a45e8cf8d5bc7d95
tree58eaa62ff08840a9c60f19ee6542cfe4ba7cb8af
parent05aa4a7b7447051d187e0a86e53eee99fe065851
runtime: add new page allocator core

This change adds a new bitmap-based allocator to the runtime with tests.
It does not yet integrate the page allocator into the runtime and thus
this change is almost purely additive.

Updates #35112.

Change-Id: Ic3d024c28abee8be8797d3918116a80f901cc2bf
Reviewed-on: https://go-review.googlesource.com/c/go/+/190622
Run-TryBot: Michael Knyszek <mknyszek@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Austin Clements <austin@google.com>
src/runtime/export_test.go
src/runtime/mpagealloc.go
src/runtime/mpagealloc_32bit.go
src/runtime/mpagealloc_64bit.go
src/runtime/mpagealloc_test.go [new file with mode: 0644]
src/runtime/mpallocbits_test.go