Skip to content

xen/mm: limit in-place scrubbing

Roger Pau Monne xen-devel 5 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v5 Latest4 patches 5 repliesIn review
  2. v43 patches 8 repliesSuperseded
  3. v33 patches 7 repliesSuperseded
Earlier versions · 2
VersionPostedPatchesRepliesStatus
v23 patches9 repliesSuperseded
v12 patches14 repliesSuperseded

Patches in v5 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4xen/mm: remove aliasing of PGC_need_scrub over PGC_allocatedxen/arch/arm/include/asm/mm.h xen/arch/ppc/include/asm/mm.h xen/arch/riscv/include/asm/mm.h +2 more+17 -331 reply
2/4xen/mm: enforce SCRUB_DEBUG checks for MEMF_no_scrub allocationsxen/common/page_alloc.c+2 -30 replies
3/4xen/mm: allow deferred scrub of physmap populate allocated pagesxen/common/domain.c xen/common/memory.c xen/common/page_alloc.c +2 more+143 -21 reply
4/4xen/mm: limit non-scrubbed allocations to a specific orderdocs/misc/xen-command-line.pandoc xen/common/memory.c xen/common/page_alloc.c +1 more+39 -43 replies

Reviews trailers per patch

2 of 4 patches have a Reviewed-by or Acked-by.

PatchJan Beulich
1/4R-b
2/4
3/4R-b
4/4

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v5 thread

Cover letter [PATCH v5 0/4] xen/mm: limit in-place scrubbing

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 adding preemption to page scrubbing in populate_physmap(). Also a new limit and command line option to signal the maximum allocation order when doing in-place scrubbing. This is set by default to CONFIG_PTDOM_MAX_ORDER.

Thanks, Roger.

Roger Pau Monne (4):
xen/mm: remove aliasing of PGC_need_scrub over PGC_allocated xen/mm: enforce SCRUB_DEBUG checks for MEMF_no_scrub allocations xen/mm: allow deferred scrub of physmap populate allocated pages xen/mm: limit non-scrubbed allocations to a specific order

 docs/misc/xen-command-line.pandoc |  13 ++++
 xen/arch/arm/include/asm/mm.h     |  10 +--
 xen/arch/ppc/include/asm/mm.h     |  10 +--
 xen/arch/riscv/include/asm/mm.h   |  10 +--
 xen/arch/x86/include/asm/mm.h     |  18 ++---
 xen/common/domain.c               |  24 +++++++
 xen/common/memory.c               | 108 ++++++++++++++++++++++++++++--
 xen/common/page_alloc.c           |  32 +++++++--
 xen/include/xen/mm.h              |  14 ++++
 xen/include/xen/sched.h           |   5 ++
 10 files changed, 202 insertions(+), 42 deletions(-)
Signature · 1 line
2.51.0