From 0352cf5866ddb5eea24fa35c69e2e43038cfb60a Mon Sep 17 00:00:00 2001 From: Jamie Liu Date: Fri, 30 Aug 2019 19:05:30 -0700 Subject: Remove support for non-incremental mapped accounting. PiperOrigin-RevId: 266496644 --- pkg/sentry/usage/memory.go | 5 ----- 1 file changed, 5 deletions(-) (limited to 'pkg/sentry/usage/memory.go') diff --git a/pkg/sentry/usage/memory.go b/pkg/sentry/usage/memory.go index f4326706a..d6ef644d8 100644 --- a/pkg/sentry/usage/memory.go +++ b/pkg/sentry/usage/memory.go @@ -277,8 +277,3 @@ func TotalMemory(memSize, used uint64) uint64 { } return memSize } - -// IncrementalMappedAccounting controls whether host mapped memory is accounted -// incrementally during map translation. This may be modified during early -// initialization, and is read-only afterward. -var IncrementalMappedAccounting = false -- cgit v1.2.3