summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry/mm/mm_test.go
diff options
context:
space:
mode:
authorFabricio Voznika <fvoznika@google.com>2020-02-25 13:42:34 -0800
committergVisor bot <gvisor-bot@google.com>2020-02-25 13:44:18 -0800
commit72e3f3a3eef3a1dc02db0ff71f98a5d7fe89a6e3 (patch)
tree54d520df721a706fdffabda9e6c560b197cdee86 /pkg/sentry/mm/mm_test.go
parent430992a67abe30dc6cb4e00822517c0aed388088 (diff)
Add option to skip stuck tasks waiting for address space
PiperOrigin-RevId: 297192390
Diffstat (limited to 'pkg/sentry/mm/mm_test.go')
-rw-r--r--pkg/sentry/mm/mm_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/sentry/mm/mm_test.go b/pkg/sentry/mm/mm_test.go
index edacca741..fdc308542 100644
--- a/pkg/sentry/mm/mm_test.go
+++ b/pkg/sentry/mm/mm_test.go
@@ -31,7 +31,7 @@ import (
func testMemoryManager(ctx context.Context) *MemoryManager {
p := platform.FromContext(ctx)
mfp := pgalloc.MemoryFileProviderFromContext(ctx)
- mm := NewMemoryManager(p, mfp)
+ mm := NewMemoryManager(p, mfp, false)
mm.layout = arch.MmapLayout{
MinAddr: p.MinUserAddress(),
MaxAddr: p.MaxUserAddress(),