You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(fc): drain virtio-balloon free-page-hinting before pause
Arm free-page-hinting on the existing balloon device (always set when
the balloon is installed; pure runtime toggle), and on pause do a
host-initiated hint+wait so MADV_DONTNEED-reclaimed pages are settled
before the snapshot. Pages reclaimed this way generate UFFD_EVENT_REMOVE,
which the orchestrator already tracks (parent FPR PR), so the snapshot
captures them as removed instead of zero-filled.
- fc/client.go: rename enableFreePageReporting -> installBalloon;
always set FreePageHinting=true; add startBalloonHinting +
describeBalloonHinting helpers.
- fc/process.go: track balloonInstalled; add DrainBalloon (start +
poll guest_cmd >= host_cmd, with host>0 guard against transient
nil/zero responses).
- sandbox.go: wire featureFlags into Sandbox; call DrainBalloon from
Pause behind the flag. Failures are logged but non-fatal.
Gated by free-page-hinting-timeout-ms (LD int flag, ms; default 0 =
disabled). resume-build gains --fph-timeout-ms for local exercise.
0 commit comments