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(-)
--
2.51.0