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

[PATCH v2 0/3] xen/mm: fix fallout from populate_physmap() deferred scrub change


  • To: xen-devel@xxxxxxxxxxxxxxxxxxxx
  • From: Roger Pau Monne <roger.pau@xxxxxxxxxx>
  • Date: Thu, 26 Mar 2026 09:51:42 +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=17HZ3jI+bQlD2Prw4LOAzGgmCirP7diNopYd0fvwwRk=; b=AHes0iZFYx4ef8NI8pA5VSfE48z7gF832bm8IA+/ppNIgH5ouuyoIubH8ZBE7oHGi7ZPbbfrWrKj/PnJQ+n8Bz/xf42dI8URglsKlz0u2VvH//bA/39fXsIn46Dz6vVAW9x8U+gybyMY7Itta3EHQkhfBPZ5as82ELnFJkuAc84M8Pr68J7Rdb330crtiQ4r2lvS44aOwearB/V7mFOFHXYRIimzbrBLeeC8FzqjURv3QZB/KdsC4wJca6hzFk+abe2wdB4yZlKm2JSGrxiEDI8ln7C2lzOY6uvHu7avATLFUViueouFxYuExnPiHo/K8pO/Pb+8f3CmOD90L/aCyA==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=ce5BwS1CIkLTTSH8KzREddY57YKBwa/FixrMzxqbRnTv9p1O2l5oL8tod5ZvXBkIVfZijHlxh2WfL5MfQ/Iuq84zHKUQydyc8okUXZmJjJUpIHPxXDiR7hCQ0A8aGga9/U4GSe+bw/tqB7tXj5d+JY233XY0SQfGsPvUpRHpZpf0iFfdpFE1hTt5UHi4/QKeLmWHg7mcnAp0sZwP9Y/qGCXYVwo1lUt4uQssGYRHPzMeIRpKbKy5lGnztfAjArtI6QJeeyeDdqELYBiw80fuow0Zk0gkG3Aj9YaaynC37AcfL+xJJbKiU5ZiPo9XKBiN6bpufSiK6mvk4hBkOHN62Q==
  • 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: Roger Pau Monne <roger.pau@xxxxxxxxxx>, 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: Thu, 26 Mar 2026 08:52:06 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

Hello,

Two fixes for the populate_physmap() deferred scrubbing changes, plus an
improvement.

Thanks, Roger.

Roger Pau Monne (3):
  xen/mm: don't unconditionally clear PGC_need_scrub in
    alloc_heap_pages()
  xen/mm: do not assign pages to a domain until they are scrubbed
  xen/mm: improve freeing of partially scrubbed pages

 xen/common/memory.c     | 13 +++++++---
 xen/common/page_alloc.c | 56 +++++++++++++++++++++++++++++++----------
 xen/include/xen/mm.h    | 14 +++++++++++
 3 files changed, 67 insertions(+), 16 deletions(-)

-- 
2.51.0




 


Rackspace

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