summaryrefslogtreecommitdiffhomepage
path: root/test/packetdrill/BUILD
diff options
context:
space:
mode:
authorAdin Scannell <ascannell@google.com>2020-06-05 15:38:38 -0700
committergVisor bot <gvisor-bot@google.com>2020-06-05 15:39:57 -0700
commit9aaca5a6da39c6154ce08f4386e702ee4a18d03a (patch)
treeb020edbfe313ece49d8b16b2b1765a8987cb799b /test/packetdrill/BUILD
parent8c1f5b5cd8b634a5e7255944f42e82c5c9de3149 (diff)
Use top-down allocation for pgalloc.
This change has multiple small components. First, the chunk size is bumped to 1GB in order to avoid creating excessive VMAs in the Sentry, which can lead to VMA exhaustion (and hitting limits). Second, gap-tracking is added to the usage set in order to efficiently scan for available regions. Third, reclaim is moved to a simple segment set. This is done to allow the order of reclaim to align with the Allocate order (which becomes much more complex when trying to track a "max page" as opposed to "min page", so we just track explicit segments instead, which should make reclaim scanning faster anyways). Finally, the findAvailable function attempts to scan from the top-down, in order to maximize opportunities for VMA merging in applications (hopefully preventing the same VMA exhaustion that can affect the Sentry). PiperOrigin-RevId: 315009249
Diffstat (limited to 'test/packetdrill/BUILD')
0 files changed, 0 insertions, 0 deletions