feat(xen): deflate zone memory balloon via oom notifier - #236
Merged
Conversation
alexandermerritt
requested review from
azenla,
bleggett,
kaniini and
tycho
as code owners
August 6, 2026 04:42
tycho
previously approved these changes
Aug 6, 2026
alexandermerritt
force-pushed
the
alexm/zone-balloon
branch
from
August 6, 2026 14:51
92e91f7 to
1dcb98f
Compare
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 |
bleggett
approved these changes
Aug 6, 2026
Signed-off-by: Alexander M. Merritt <alexander@edera.dev>
alexandermerritt
force-pushed
the
alexm/zone-balloon
branch
from
August 6, 2026 17:35
1dcb98f to
6c7404a
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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