-
Notifications
You must be signed in to change notification settings - Fork 296
CP-310822: upstream patchqueue entries for XS9 #6845
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
robhoes
merged 13 commits into
master
from
private/marcusg/cp-310822-upstream-patchqueue
Jan 21, 2026
Merged
CP-310822: upstream patchqueue entries for XS9 #6845
robhoes
merged 13 commits into
master
from
private/marcusg/cp-310822-upstream-patchqueue
Jan 21, 2026
Conversation
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
Adding a new CPU RRD metric: "numa_node_nonaffine_vcpus" per domain as fraction of vCPU time running outside of vCPU affinity. Signed-off-by: Marcus Granado <[email protected]>
Merge branch 'cp-310822-upstream-patchqueue-1-rrd3' into cp-310822-upstream-patchqueue Signed-off-by: Marcus Granado <[email protected]>
Now the numa node needs to be passed. A special value of (~0U) is used to signify that no node is meant to be used. Since this is arch-dependent, and contained in a long in x86_64, an int is used to encode the value. Also remove the exception that was guarding the codepath to use this case Signed-off-by: Pau Ruiz Safont <[email protected]> Signed-off-by: Christian Lindig <[email protected]>
…rsion-in-xen-4.21-wi Merge branch 'cp-310822-upstream-patchqueue-2-cp-53658' into cp-310822-upstream-patchqueue Signed-off-by: Marcus Granado <[email protected]>
…odes (CA-411684) Free memory is now properly accounted for because the memory pages are claimed within the NUMA mutex, so there's no need to have double tracking. On top of that, this code never increased the free memory, which means that it always reached a point where it was impossible to allocate a domain into a single numa node. Signed-off-by: Pau Ruiz Safont <[email protected]>
…k-of-free-memory-when Merge branch 'cp-310822-upstream-patchqueue-3-ca-411684' into cp-310822-upstream-patchqueue Signed-off-by: Marcus Granado <[email protected]>
Signed-off-by: Marcus Granado <[email protected]>
…node Signed-off-by: Marcus Granado <[email protected]>
Signed-off-by: Marcus Granado <[email protected]>
Merge branch 'cp-310822-upstream-patchqueue-4-cp-54238' into cp-310822-upstream-patchqueue Signed-off-by: Marcus Granado <[email protected]>
lindig
approved these changes
Jan 20, 2026
Member
@mg12 looks like this needs:
|
robhoes
reviewed
Jan 20, 2026
this avoids a link error in systems that don't have this function: /usr/bin/ld: ocaml/libs/xenctrl-ext/libxenctrl_ext_stubs.a(xenctrlext_stubs.o): in function `stub_xenctrlext_domain_claim_pages': xen-api/_build/default/ocaml/libs/xenctrl-ext/xenctrlext_stubs.c:688: undefined reference to `xc_domain_claim_pages_node' set errno to ENOSYS if not defined, to keep behaviour consistent with other stubs in this file. keep CAMLparam4 in both cases to avoid unused parameter warnings. Signed-off-by: Marcus Granado <[email protected]>
Signed-off-by: Marcus Granado <[email protected]>
Signed-off-by: Marcus Granado <[email protected]>
a287d59 to
4eb2ca1
Compare
Member
Author
|
4eb2ca1 passed BVT 233201, and has the RRD metrics as expected: |
robhoes
approved these changes
Jan 21, 2026
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.
This PR contains the same patches for XS9 that were present in the patchqueue.
I organised the PR so that each merge corresponds to an entry in the patchqueue:
The behaviour is unchanged compared to the patchqueue (the code is the same).
Tested with BVT 233166.
Verified that the RRD metrics in the patches are preserved as expected, using: