Commit 2c105b6
committed
fix(test): disable memory monitor in cross-kernel snapshot restore test
MemoryMonitor's is_guest_mem heuristic matches a single guest-sized VMA,
but _test_balloon inflates the balloon after restore, and
GuestRegionMmapExt::discard_range overlays MAP_FIXED anonymous mmaps on
the reclaimed ranges (a workaround specific to private file-backed
mappings from snapshot restore). This fragments the 512 MiB guest VMA
into ~190 smaller ones, none of which match the heuristic, and their RSS
(~336 MiB) is counted as VMM overhead.
This is the only cross-kernel test that inflates the balloon post-
restore, and its purpose is validating cross-kernel compatibility, not
VMM memory overhead, so the monitor is skipped here as it already is in
test_snapshot_phase1.
Signed-off-by: Jack Thomson <jackabt@amazon.com>1 parent 3a0a192 commit 2c105b6
1 file changed
Lines changed: 5 additions & 1 deletion
Lines changed: 5 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
117 | 117 | | |
118 | 118 | | |
119 | 119 | | |
120 | | - | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
121 | 125 | | |
122 | 126 | | |
123 | 127 | | |
| |||
0 commit comments