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

RE: [PATCH 1/1] xen/mm: normalize page count types to unsigned long


  • To: Jan Beulich <jbeulich@xxxxxxxx>
  • From: Bernhard Kaindl <bernhard.kaindl@xxxxxxxxxx>
  • Date: Tue, 5 May 2026 17:45:31 +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=OEYMRP1h00mv2smG9vlcxtBuew6OyHcm7haVlj3O0C4=; b=BfAlBnbo9jVpdTQXUBcGGECEif6giVzSyb22LowOtYD7T8zWe/ImpzE5jd+IBrmxipAbR7r45N/Xwcc9AaFY3pH7W2wGz9tTQih0KYvxZe6DGqKuP1CHlK7Cfqrq6qxVb2hotgo18VwrMG+Wy0vAb1AdIleaMoB+rzfiNS9eEyXp/2f+bELiEi/PzWOMNeDac80UgcPN7DBs3N6LEASFv97v0boqJY1VYk78/JH78NFu/f+oSaMhs+ZddcjIfXqydQcnNX1e14DyTlUl/iasjIJDha0ql1q9Vwgjx2x/vTbXmjI4quzXS1soFC81QER9h34rOfH7SSxQmfKyoiZ6MA==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=S0BcjmfDCr0KmNIeoulI7RSPCNK9DBwKOWT6sKskgSQawlR8NhF6V4lrKNhC8Dugj66s4oOVPBiZQPnlSBSxUVgf/MWswzixMp+oiKhy717FbLF+GY5bTxUdRvfEOyZZtkSSuVvKbnbsOeLyurqFZxX/Q5JsG6f+NHdBPtjOsdvYvvmk2qfpRSCYXTDckBmztm6QgD57q0Fqd1NvLHOyKcCCdiqkDKtJfOZA45TIPmNeQou6q/y8um1gJL9kSCYVQl5KmfFFhonxHB43V7kYcEmiXFjdDLmqmCWJbHDGyCQjzSPpZnFo0fNolHmY6mdEeCBOXbsX2PLaWxY4ZqgjLA==
  • 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 17:46:12 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
  • Thread-index: AQHc0m21xf3mZmlgYkSU6AzufCg/frX95EKAgAHUE0A=
  • Thread-topic: [PATCH 1/1] xen/mm: normalize page count types to unsigned long

Hi Jan,

Thank you for the review and for merging this first step.

Jan Beulich wrote:
> Just to mention - my original comment was quite a bit wider. It was
> specifically made in context of a use of d->outstanding_pages. Yet of
> course I don't mind this as a 1st step.

Thanks, I appreciate your broader perspective on the unsigned int to
unsigned long normalization (which enables supporting more than 16TB
per-domain after the host supports as much) as you hinted at earlier.

I fully intend to follow through on widening all the relevant page
counters in struct domain (which are currently unsigned int, matching
d->outstanding_pages) and beyond it if needed (for x86 shadow/paging
page counters) later.

This will naturally require a coordinated series of changes, as various
printk format strings will also need to be updated in sync. Because of
this, it will need further splitting into smaller, logical patches
before it is ready for review.

With respect to the Xen 4.22 timeline, my immediate focus is on
submitting the next NUMA claims series for review.

Once that is out of the way, I will pivot back to prepare the next
steps for this normalization work.

Best regards,
Bernhard

 


Rackspace

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