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

[PATCH 0/2] xen/mm: limit in-place scrubbing


  • To: xen-devel@xxxxxxxxxxxxxxxxxxxx
  • From: Roger Pau Monne <roger.pau@xxxxxxxxxx>
  • Date: Thu, 8 Jan 2026 18:55:34 +0100
  • 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=dHF3JH2r9EdzeDRKKZ9IR6O2GGBdfVMXJ85DPH2YZJI=; b=gG4/CCnW9w1VH3qOKaT3PwYgKTfeqaJOBoPnNy0BlqCdrcr4go6fNYrhURPV0yQ0CZCSRx1hxsSkepm3Z3oX0zFVwZtuePKJBJKmTV2Ph3IDu4GQQnDCU+Upft5c78mB4NAeh8D9kUBmMCtn/sn6vc3bY0yHqAajAYaU5mY72WlBIvJdgwhO/Gd5CUk2oWn0IyvvBt4EbNf5FZ8gxoPr69lVjLIqRxMGXNoYIjfilVm3XhbCkRpgHn1rvBkvlxTmyAfkOhW80/2RHiIEwRYnvYlB6BXViwltbSIsAx+Y2+/7dv5mntwoJ+ekm2zGkzmIlDMMsFU+QP5+navPcMa9yw==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=EfYFPNA7m1z8GsR2AuxL3InBeulai2XHmwv9+ur2wcftbYFyy4FtPklQ86eGNq/zSZ53k7IeyJK2pjz2gssDJM/zh27x7SDjkjmVbiEbGok+vBE4xTp7TvUZqemgTFhoRUeTqtUfJyauJWmCJWk3Shu3Xs2csSlj8OCmaN12Fc2HDgdcFbBEbZePMpbrHQDxJ5mzpgC21UJUSSwY3SfwtcG3qthnLu3VNbZpVPVg/XPets0AvJ0y2vMGndQhHI3FzLziR46UTvBe9MCL0VkBUFVPSJNuTI+eMkuY1XVdIYsMC4LHKlkWzpfntosGkI67bmKKXERVHqtaIlby0Ctx3Q==
  • Authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=citrix.com;
  • Cc: Roger Pau Monne <roger.pau@xxxxxxxxxx>, Stefano Stabellini <sstabellini@xxxxxxxxxx>, Julien Grall <julien@xxxxxxx>, Bertrand Marquis <bertrand.marquis@xxxxxxx>, Michal Orzel <michal.orzel@xxxxxxx>, Volodymyr Babchuk <Volodymyr_Babchuk@xxxxxxxx>, Andrew Cooper <andrew.cooper3@xxxxxxxxxx>, Anthony PERARD <anthony.perard@xxxxxxxxxx>, Jan Beulich <jbeulich@xxxxxxxx>
  • Delivery-date: Thu, 08 Jan 2026 17:56:50 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

Hello,

In XenServer we have seen the watchdog occasionally triggering during
domain creation if 1GB pages are scrubbed in-place during physmap
population.  The following series attempt to mitigate this by limiting
the in-place scrubbing during allocation to 2M pages, but it has some
drawbacks, see the post-commit remarks in patch 2.

I'm hopping someone might have a better idea, or we converge we can't do
better than this for the time being.

Thanks, Roger.

Roger Pau Monne (2):
  xen/mm: add a NUMA node parameter to scrub_free_pages()
  xen/mm: limit non-scrubbed allocations to a specific order

 xen/arch/arm/domain.c   |  2 +-
 xen/arch/x86/domain.c   |  2 +-
 xen/common/memory.c     | 12 +++++++++
 xen/common/page_alloc.c | 54 +++++++++++++++++++++++++++++++++++++----
 xen/include/xen/mm.h    | 12 ++++++++-
 5 files changed, 74 insertions(+), 8 deletions(-)

-- 
2.51.0




 


Rackspace

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