[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [PATCH v4 0/10] xen: Add NUMA-aware memory claims for domains


  • To: Jan Beulich <jbeulich@xxxxxxxx>
  • From: Bernhard Kaindl <bernhard.kaindl@xxxxxxxxxx>
  • Date: Wed, 4 Mar 2026 17:27:57 +0000
  • Accept-language: en-GB, en-US
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=citrix.com; dmarc=pass action=none header.from=citrix.com; dkim=pass header.d=citrix.com; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=BTW0OIApes7ucx+QNWFjxhTP/zA1bUY3ihHkrnMnzs8=; b=JJN4qkhPgojYIgn+lFHrCAz3VmCsaPkCRhW/42IgoPCN/S/C2x46WmFqunju05T7Xy3ORfmmovnpvE512EjbjUHhRej+qzyNoNY1fwq7KR7QfcnnfM06EDYgR8s6U01FRfvw8dDJnJntg/gzjkkB2gF2FPbe0gzDR2Dw/exbjy91/jBECW/X40p9Eb6GY5TCTuluZpkBCLgwrklXblQ6rlqUyAUWPRH2T4ACU6Oak3GO3dvfJ8G1E8T2Q7Q012xEgOs0xZjkFXtbwzX6jaTQIC7skAYkUph9eqkXf78cIuG6++pWAvhrnAewZqDqpL90dTBZ69gSppDqd5Lxk9Z8qg==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=SqGkz8Tlx3yj8xQe6jMXVqHorv8q2/Lyw+Qd/wbxTFeOdusQHWGFu2tBzVIw6h6ki7B7t36CrNBze3lGwRMYjRtZw9489ntT1OuLfXnXxoD9uapniGkTRK/7xvNsOJBlIYb4VwAwLaDizXnBmaZ6L10gYRgg89DzPXBZx3vNBUahcuopjRJhjfbZJfISyImzSLE7Ao61oCrSMPzBaj+WjjVV5f1uCPoo8elFwHzTavqW77HUyvUEa7nOCLLJY6kVAwySLR4jg0rbzjpTCWgreq2G6FnleGRlxK4xYoBnbgnsmjyjQPAssO2jfczlK3TriedIWOAGuRU72SVjbQbpHA==
  • Authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=citrix.com;
  • Cc: Andrew Cooper <andrew.cooper@xxxxxxxxxx>, Anthony PERARD <anthony.perard@xxxxxxxxxx>, Michal Orzel <michal.orzel@xxxxxxx>, Julien Grall <julien@xxxxxxx>, Roger Pau Monne <roger.pau@xxxxxxxxxx>, Stefano Stabellini <sstabellini@xxxxxxxxxx>, "Daniel P. Smith" <dpsmith@xxxxxxxxxxxxxxxxxxxx>, Juergen Gross <jgross@xxxxxxxx>, Christian Lindig <christian.lindig@xxxxxxxxxx>, David Scott <dave@xxxxxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxxx>
  • Delivery-date: Wed, 04 Mar 2026 17:28:09 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
  • Thread-index: AQHcq/EQ7U0dGER6F0e0O8+l9l+UF7Wen7Sg
  • Thread-topic: [PATCH v4 0/10] xen: Add NUMA-aware memory claims for domains

Jan Beulich wrote:
> > - Alejandro Vallejo developed the initial version
> > - Roger Pau Monné updated the implementation and upstreamed key improvements
> > - Marcus Granado contributed analysis and suggestions during development
> 
> Despite any of this, ...
[...] 
> ... only a single patch has an S-o-b other than yours. Is this a correct
> representation of authorship?

Patch 3 should have S-o-bs by Roger and Alejandro in the commit, I will fix it.

Thanks for the catch,
Bernhard

PS: Details of the patches:

I'll also add Requested-by: Roger Pau Monné to the hypercall he requested to
implement for this series.

Here is the breakdown of contributions:

1. xen/page_alloc: Extract code for consuming claims into inline function

   - By me as preparation to avoid duplicated code.

2. xen/page_alloc: Optimize getting per-NUMA-node free page counts

   - Has S-o-b by Alejandro,
     - Extracted into a separate patch for more focussed review
     - Use node_avail_pages[node] also for avail_node_heap_pages(node)
     - Use unsigned (to be factored into a separate commit per your review)

3. xen/page_alloc: Implement NUMA-node-specific claims

   - Thanks for the catch, I will the fix Suggested-by to S-o-b's.

4. xen/page_alloc: Consolidate per-node counters into avail[] array

   - I'll remove it from the series, skip its review.
     Not needed, and it missed initializing nodes without any memory.

5. xen/domain: Add DOMCTL handler for claiming memory with NUMA awareness
6. xsm/flask: Add XEN_DOMCTL_claim_memory to flask
7. tools/lib/ctrl/xc: Add xc_domain_claim_memory() to libxenctrl
8. tools/ocaml/libs/xc: add OCaml domain_claim_memory binding
9. tools/tests: Update the claims test to test claim_memory hypercall
10. docs/guest-guide: document the memory claim hypercalls

   - These are the patches for the new hypercall interface requested by Roger,
     I'll add a Requested-by: Roger Pau Monné to the API interface patches.
     They are of course based Xen code, but not on patches of somebody else.

Bernhard

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.