aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/malloc_test.go
diff options
context:
space:
mode:
authorMichael Anthony Knyszek <mknyszek@google.com>2019-09-18 17:51:16 +0000
committerMichael Knyszek <mknyszek@google.com>2019-11-08 18:00:45 +0000
commit81640ea38dc6577bdf1b206b778b968d341c27eb (patch)
tree529fd2da22bb25e38bdd4e1d7e81f6e7e84d0498 /src/runtime/malloc_test.go
parentc444ec308506463bd4ab3226c6aab55746347780 (diff)
downloadgo-81640ea38dc6577bdf1b206b778b968d341c27eb.tar.xz
runtime: add page cache and tests
This change adds a page cache structure which owns a chunk of free pages at a given base address. It also adds code to allocate to this cache from the page allocator. Finally, it adds tests for both. Notably this change does not yet integrate the code into the runtime, just into runtime tests. Updates #35112. Change-Id: Ibe121498d5c3be40390fab58a3816295601670df Reviewed-on: https://go-review.googlesource.com/c/go/+/196643 Run-TryBot: Michael Knyszek <mknyszek@google.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Austin Clements <austin@google.com>
Diffstat (limited to 'src/runtime/malloc_test.go')
0 files changed, 0 insertions, 0 deletions