[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v2 2/2] xen/mm: reject XENMEM_claim_pages when using LLC coloring
- To: Roger Pau Monne <roger.pau@xxxxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxxx
- From: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>
- Date: Wed, 24 Dec 2025 20:33:48 +0000
- 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=fFY/S8DktWQ/eE9dIBCs2JqW4Lxis2xiMlqDxqD22ZM=; b=UXWwzkqfoTFgFloYGu8dlo62cYsmXHV7KOScfx40BsaQ+GauoSg9m9nu/MSRXaMeMsjIkJANJcXXo27ZGtxv3j15vHwuGFt5NZ3Eg5NJLlJ+UTmyskKk5fu80R/gm2e4nw2BehxWFruTFZJ9Gd7dtHJUX6MYRqA6EkAxZ9B1fFfEMejt5bOMG25aQR42Eq9wdlThSXAS1MOT3DYrzQYFXpQ0uI+Ojz2LNUw41fgwkcugSa1m1rZJ4j1rWP6FyGBaCD0eqmoGq8G6Whp0N6T2Snou6pxOov+Q312+rC+/EQYW+HBWo/0T1mZlkBv0T120yQ23YpUyzXzIxfQ3kOSk4A==
- Arc-seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=A2xNm64AdSURhiw0w/BLo9fd7SDn1fxIKA6+0m299PX2TwuooDM9nObghmkyw9EciKhRWx+8OPU+li/+/TQrDXj2rys4e6igXe7dqRxc+/QvZs37Hoxf5n8vPVjaL5VQryZH7dMOn23ZQQaPkfJYRwsgwozFPu5c+DpOP329ZaF7zB0U2OFcnwi5Y+z6F5IKKNNOlGPjTzgsdxWT9qj2gDA3jXWjQVyF2FCnQd1oI2azR7OJAZfqge8qWUabon/YsLiUPX0ptghzxH7YdbreKqhKtFLOA+0R2rludnhvBKLqMuHG1yeNW6cicgSngE4xrvK0C7tkl0DACIgEYKtFaw==
- Authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=citrix.com;
- Cc: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>, Anthony PERARD <anthony.perard@xxxxxxxxxx>, Michal Orzel <michal.orzel@xxxxxxx>, Jan Beulich <jbeulich@xxxxxxxx>, Julien Grall <julien@xxxxxxx>, Stefano Stabellini <sstabellini@xxxxxxxxxx>
- Delivery-date: Wed, 24 Dec 2025 20:34:05 +0000
- List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
On 24/12/2025 7:40 pm, Roger Pau Monne wrote:
> The coloring allocator ignores claims, reject the usage of the hypercall if
Minor grammar nit. You want a semicolon here rather than a comma.
> LLC coloring is enabled. Note that the usage of alloc_color_heap_page() is
> selected at boot time, and it's a system wide decision. Once enabled all
> domains will use alloc_color_heap_page() for allocations, which ignores any
> outstanding claims.
>
> The hypercall can be enabled if/when LLC coloring is adjusted to support
> claims.
>
> Fixes: 95debe51a936 ("xen: add cache coloring allocator for domains")
> Signed-off-by: Roger Pau Monné <roger.pau@xxxxxxxxxx>
Reviewed-by: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>
|