All of lore.kernel.org
 help / color / mirror / Atom feed
From: Bernhard Kaindl <bernhard.kaindl@citrix.com>
To: xen-devel@lists.xenproject.org
Cc: "Bernhard Kaindl" <bernhard.kaindl@citrix.com>,
	"Jan Beulich" <jbeulich@suse.com>,
	"Andrew Cooper" <andrew.cooper3@citrix.com>,
	"Roger Pau Monné" <roger.pau@citrix.com>,
	"Teddy Astie" <teddy.astie@vates.tech>,
	"Anthony PERARD" <anthony.perard@vates.tech>,
	"Michal Orzel" <michal.orzel@amd.com>,
	"Julien Grall" <julien@xen.org>,
	"Stefano Stabellini" <sstabellini@kernel.org>,
	"Tim Deegan" <tim@xen.org>,
	"Bertrand Marquis" <bertrand.marquis@arm.com>,
	"Volodymyr Babchuk" <Volodymyr_Babchuk@epam.com>,
	"Juergen Gross" <jgross@suse.com>
Subject: [PATCH 0/7] xen/mm: Normalize per-domain page counters, >16 TiB per domain
Date: Fri, 29 May 2026 13:43:54 +0100	[thread overview]
Message-ID: <cover.1780058608.git.bernhard.kaindl@citrix.com> (raw)

Summary of a comment by Jan Beulich motivating this submission:
> Considering that systems (and hence guests) only ever get larger, we
> should consider to normalize per-domain page counters to unsigned long.

This series enables supporting guests >16 TiB in the future
once the system support for machines >16 TiB is implemented.

1. xen/mm: Normalize common per-domain page counters to unsigned long
2. x86/mm: Normalize X86 per-domain page counters to unsigned long
3. xen/mm: Static memory: Widen assign_pages(nr) to unsigned long
4. xen/mm: Static memory: Widen domstatic plumbing to unsigned long
5. xen/mm: device-tree: Widen static page counts to unsigned long
6. xen/arch/x86/dom0_build.c: Extend the upper limit for Dom0's max_pages
7. tools/libs/stat/xenstat.c: Extend the "no maximum" sentinel for max_pages

This series is based on the NUMA claim sets v7 series:
https://lists.xen.org/archives/html/xen-devel/2026-05/msg00363.html

Suggested-by: Jan Beulich <jbeulich@suse.com>
Signed-off-by: Bernhard Kaindl <bernhard.kaindl@citrix.com>

Bernhard Kaindl (7):
  xen/mm: Normalize common per-domain page counters to unsigned long
  x86/mm: Normalize X86 per-domain page counters to unsigned long
  xen/mm: Static memory: Widen assign_pages(nr) to unsigned long
  xen/mm: Static memory: Widen domstatic plumbing to unsigned long
  xen/mm: device-tree: Widen static page counts to unsigned long
  xen/arch/x86/dom0_build.c: Extend the upper limit for Dom0's max_pages
  tools/libs/stat/xenstat.c: Extend the "no maximum" sentinel for
    max_pages

 tools/libs/stat/xenstat.c               |  2 +-
 xen/arch/arm/include/asm/p2m.h          |  2 +-
 xen/arch/x86/dom0_build.c               |  2 +-
 xen/arch/x86/include/asm/domain.h       |  6 ++--
 xen/arch/x86/include/asm/hap.h          |  4 +--
 xen/arch/x86/include/asm/paging.h       |  2 +-
 xen/arch/x86/include/asm/shadow.h       |  2 +-
 xen/arch/x86/mm/hap/hap.c               | 19 ++++++-----
 xen/arch/x86/mm/p2m-pod.c               |  2 +-
 xen/arch/x86/mm/paging.c                |  9 +++---
 xen/arch/x86/mm/shadow/common.c         | 42 ++++++++++++-------------
 xen/common/device-tree/dom0less-build.c |  2 +-
 xen/common/device-tree/static-memory.c  |  9 +-----
 xen/common/device-tree/static-shmem.c   |  9 +++---
 xen/common/grant_table.c                |  2 +-
 xen/common/keyhandler.c                 |  8 ++---
 xen/common/numa.c                       |  2 +-
 xen/common/page_alloc.c                 | 20 ++++++------
 xen/include/xen/mm.h                    |  4 +--
 xen/include/xen/sched.h                 | 16 +++++-----
 20 files changed, 77 insertions(+), 87 deletions(-)

-- 
2.39.5



             reply	other threads:[~2026-05-29 12:46 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-05-29 12:43 Bernhard Kaindl [this message]
2026-05-29 12:43 ` [PATCH 1/7] xen/mm: Normalize common per-domain page counters to unsigned long Bernhard Kaindl
2026-06-02 12:41   ` Jan Beulich
2026-05-29 12:43 ` [PATCH 2/7] x86/mm: Normalize X86 " Bernhard Kaindl
2026-06-02 12:50   ` Jan Beulich
2026-05-29 12:43 ` [PATCH 3/7] xen/mm: Static memory: Widen assign_pages(nr) " Bernhard Kaindl
2026-06-02 12:52   ` Jan Beulich
2026-05-29 12:43 ` [PATCH 4/7] xen/mm: Static memory: Widen domstatic plumbing " Bernhard Kaindl
2026-05-29 12:43 ` [PATCH 5/7] xen/mm: device-tree: Widen static page counts " Bernhard Kaindl
2026-05-29 12:44 ` [PATCH 6/7] xen/arch/x86/dom0_build.c: Extend the upper limit for Dom0's max_pages Bernhard Kaindl
2026-06-02 12:56   ` Jan Beulich
2026-05-29 12:44 ` [PATCH 7/7] tools/libs/stat/xenstat.c: Extend the "no maximum" sentinel for max_pages Bernhard Kaindl
2026-06-02 12:30 ` [PATCH 0/7] xen/mm: Normalize per-domain page counters, >16 TiB per domain Jan Beulich

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=cover.1780058608.git.bernhard.kaindl@citrix.com \
    --to=bernhard.kaindl@citrix.com \
    --cc=Volodymyr_Babchuk@epam.com \
    --cc=andrew.cooper3@citrix.com \
    --cc=anthony.perard@vates.tech \
    --cc=bertrand.marquis@arm.com \
    --cc=jbeulich@suse.com \
    --cc=jgross@suse.com \
    --cc=julien@xen.org \
    --cc=michal.orzel@amd.com \
    --cc=roger.pau@citrix.com \
    --cc=sstabellini@kernel.org \
    --cc=teddy.astie@vates.tech \
    --cc=tim@xen.org \
    --cc=xen-devel@lists.xenproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.