gvisor/pkg/sentry/usage
Ayush Ranjan c206fcbfc2 pgalloc: Do not hold MemoryFile.mu while calling mincore.
This change makes the following changes:
- Unlocks MemoryFile.mu while calling mincore (checkCommitted) because mincore
  can take a really long time. Accordingly looks up the segment in the tree
  tree again and handles changes to the segment.
- MemoryFile.UpdateUsage() can now only be called at frequency at most 100Hz.
  100 Hz = linux.CLOCKS_PER_SEC.

Co-authored-by: Jamie Liu <jamieliu@google.com>
PiperOrigin-RevId: 337865250
2020-10-19 09:02:19 -07:00
..
BUILD Standardize on tools directory. 2020-01-27 12:21:00 -08:00
cpu.go Change copyright notice to "The gVisor Authors" 2019-04-29 14:26:23 -07:00
io.go Change copyright notice to "The gVisor Authors" 2019-04-29 14:26:23 -07:00
memory.go pgalloc: Do not hold MemoryFile.mu while calling mincore. 2020-10-19 09:02:19 -07:00
memory_unsafe.go Change copyright notice to "The gVisor Authors" 2019-04-29 14:26:23 -07:00
usage.go Change copyright notice to "The gVisor Authors" 2019-04-29 14:26:23 -07:00