diff options
author | gVisor bot <gvisor-bot@google.com> | 2020-02-10 20:13:28 +0000 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2020-02-10 20:13:28 +0000 |
commit | 7c79fae02c7ee4a76fcc8018d9319f4c1d748d43 (patch) | |
tree | 4274a49294e3e87062ed99cc7b486f9c4ffb76d6 | |
parent | 41ce1ec2cc45f8409f73dca6bfc5690f97aa3aff (diff) | |
parent | c9a18b16ade6ec0bc90fc75d0a4ab0621f9d01d6 (diff) |
Merge release-20200127.0-109-gc9a18b1 (automated)
-rw-r--r-- | pkg/sentry/usage/memory.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/pkg/sentry/usage/memory.go b/pkg/sentry/usage/memory.go index 538c645eb..4320ad17f 100644 --- a/pkg/sentry/usage/memory.go +++ b/pkg/sentry/usage/memory.go @@ -253,6 +253,10 @@ func (m *MemoryLocked) Copy() (MemoryStats, uint64) { } // MinimumTotalMemoryBytes is the minimum reported total system memory. +// +// This can be configured through options provided to the Sentry at start. +// This number is purely synthetic. This is only set before the application +// starts executing, and must not be modified. var MinimumTotalMemoryBytes uint64 = 2 << 30 // 2 GB // TotalMemory returns the "total usable memory" available. |