summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry/usage
diff options
context:
space:
mode:
authorJamie Liu <jamieliu@google.com>2019-08-30 19:05:30 -0700
committergVisor bot <gvisor-bot@google.com>2019-08-30 19:06:55 -0700
commit0352cf5866ddb5eea24fa35c69e2e43038cfb60a (patch)
tree9fbb1ddc386ae93f460da7815ef08258dac4f1c1 /pkg/sentry/usage
parent54bf2e8eff4a5e619e7e3abafcda6ffc52d937f2 (diff)
Remove support for non-incremental mapped accounting.
PiperOrigin-RevId: 266496644
Diffstat (limited to 'pkg/sentry/usage')
-rw-r--r--pkg/sentry/usage/memory.go5
1 files changed, 0 insertions, 5 deletions
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