[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [PATCH v6 1/7] xen/mm: Refactor claim deduction for later functional changes
- To: Jan Beulich <jbeulich@xxxxxxxx>
- From: Bernhard Kaindl <bernhard.kaindl@xxxxxxxxxx>
- Date: Tue, 5 May 2026 16:31:05 +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=7nqiA/BVuEQkhZmEA9uB1+MCTU4aOSAawbd56ML86Pw=; b=WcZVD/vj8Gbvu7IEk360sLJr0YstTrNJQK55XD0oP66Ogo8dm5TskO9gkT5Yz147fbnpHydOuP72D8BsO9wyypBW0VgUv+14SgHSff6nqV8jvBeM2s2NagmMPZVxEzCVsBMgT256e7GI9or/DduL9fWDQrd9LvWsiESVqRFZGZ8gnctrYMLoCVmzvbHLO/1X2oATNC+RSlpPfQ7D1o0fXGSmbnb/ADKtr/941RazcdBrykoxNgxXUpYjA2get77cuMfe9SiT4sB9APSSepyjp7pvpdYap/AM2cX2Os9dPU3wwlk1TvcpAUEpNR2OR+W8tDO6PLHuK3366S36XGBM7A==
- Arc-seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=quHbZgRZqUJKNkQH265J7o7HtLJ7viSgeHEx0IbOjNiQAt06C0yYSRqZwCRuMyyo5rQ3xt8CxInv7q3EWm8FUT6CZV9agmdY7yXWLSj1KKxH8Rl9Kbws8PelIeHGz4XLLvAOtf498w6DEiSozoAXW5Sr3TGOYs9BJMQDDi3ZNvv2qU3o0Rwyj4Nrt/w3dGvBzdSSf1TrqqznoUB7pQTBp1bJvR9fuTDcg7+WwiGTLqauo/+BSy8fQmiEb4UiJ7x2FLWcR4bKSt+M08qaRbW9++dGcAHL9X8x4EoltzxcEmgMUGfyhiWUYNEO95dPDdvto3C35Bwhc3VDCxYYHaCtVQ==
- Authentication-results: eu.smtp.expurgate.cloud; dkim=pass header.s=selector1 header.d=citrix.com header.i="@citrix.com" header.h="From:Date:Subject:Message-ID:Content-Type:MIME-Version:x-ms-exchange-senderadcheck"
- 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>, "xen-devel@xxxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxxx>
- Delivery-date: Tue, 05 May 2026 16:31:30 +0000
- List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
- Thread-index: AQHczBIVjQaUKhelwUCYpZQxzVcChrXqzwoAgABXiPCAElKBgIACIl5Q
- Thread-topic: [PATCH v6 1/7] xen/mm: Refactor claim deduction for later functional changes
Jan Beulich wrote:
> > 'Node-agnostic' better describes the architectural intent: that these
> > claims are valid regardless of node locality. To resolve the ambiguity,
> > I will replace 'global' with 'node-agnostic' across the board (design
> > documentation, code, and tests).
> >
> > Specifically, I will:
> >
> > Rename the function to deduct_node_agnostic_claims().
>
> Or deduct_host_claims() (short for deduct_host_wide_claims())?
Thanks, yes, I think host_claims is the better choice.
I also plan to make these helpers explicitly domain-scoped and switch
from "deduct_" to "release_". This feels more natural in this context
and avoids the finance-style wording.
The functions will become:
- domain_release_host_claims()
- domain_release_node_claims()
This clarifies the domain scope upfront and uses the more appropriate
action.
I will send these updates with the v7 series of design, code, and tests.
Bernhard
|