Skip to content

feat(xen): deflate zone memory balloon via oom notifier - #236

Merged
alexandermerritt merged 1 commit into
mainfrom
alexm/zone-balloon
Aug 6, 2026
Merged

feat(xen): deflate zone memory balloon via oom notifier#236
alexandermerritt merged 1 commit into
mainfrom
alexm/zone-balloon

Conversation

@alexandermerritt

@alexandermerritt alexandermerritt commented Aug 6, 2026

Copy link
Copy Markdown
Contributor

Part-of https://github.com/edera-dev/protect/issues/3076

Only a fix for Xen hosts.

Host aggressively sucks memory out of a zone after creation. Launching a workload then results in an OOM and kernel panic, when there is actually memory available (it was ballooned out).

Add a patch that registers an OOM notifier hook which attempts to deflate the memory balloon to grow the zone memory, resuming the task.

Here is the patch in-tree: edera-dev/linux-upstream@1212206

tycho
tycho previously approved these changes Aug 6, 2026
@alexandermerritt

Copy link
Copy Markdown
Contributor Author

the build errors are a missing header include which I had on my build machine but it slipped out from the patch... should build now

Signed-off-by: Alexander M. Merritt <alexander@edera.dev>
@alexandermerritt
alexandermerritt merged commit fb8e2a9 into main Aug 6, 2026
@alexandermerritt
alexandermerritt deleted the alexm/zone-balloon branch August 6, 2026 17:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants