gvisor/test/e2e
Adin Scannell 9aaca5a6da 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
2020-06-05 15:39:57 -07:00
..
BUILD Simplify Docker test infrastructure. 2020-04-23 11:33:30 -07:00
exec_test.go Simplify Docker test infrastructure. 2020-04-23 11:33:30 -07:00
integration.go
integration_test.go Use top-down allocation for pgalloc. 2020-06-05 15:39:57 -07:00
regression_test.go Simplify Docker test infrastructure. 2020-04-23 11:33:30 -07:00