diff options
author | David Chase <drchase@google.com> | 2022-01-14 12:06:38 -0500 |
---|---|---|
committer | David Chase <drchase@google.com> | 2022-01-14 12:06:38 -0500 |
commit | bb93480d009322886df6f5185c988d6d21fdc2c8 (patch) | |
tree | e0aedd272a69d97f56c27da8c3bdb98d0515d8b6 /src/runtime/mpagecache_test.go | |
parent | adecd3ffbec722f69dfb5993d25f63aed5305a71 (diff) | |
parent | 378766af9ed0f2e28d67c2b50e73db7573656669 (diff) | |
download | go-bb93480d009322886df6f5185c988d6d21fdc2c8.tar.gz go-bb93480d009322886df6f5185c988d6d21fdc2c8.zip |
[dev.boringcrypto.go1.16] all: merge go1.16.13 into dev.boringcrypto.go1.16
Change-Id: I1233ad2811a546b008c75242ddd560fd2d121327
Diffstat (limited to 'src/runtime/mpagecache_test.go')
-rw-r--r-- | src/runtime/mpagecache_test.go | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/runtime/mpagecache_test.go b/src/runtime/mpagecache_test.go index 2ed0c0aa6a..9cbf0dd7de 100644 --- a/src/runtime/mpagecache_test.go +++ b/src/runtime/mpagecache_test.go @@ -7,6 +7,7 @@ package runtime_test import ( "math/rand" . "runtime" + "runtime/internal/sys" "testing" ) @@ -350,7 +351,9 @@ func TestPageAllocAllocToCache(t *testing.T) { }, }, } - if PageAlloc64Bit != 0 { + // Disable these tests on iOS since we have a small address space. + // See #46860. + if PageAlloc64Bit != 0 && sys.GoosIos == 0 { const chunkIdxBigJump = 0x100000 // chunk index offset which translates to O(TiB) // This test is similar to the one with the same name for |