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

[PATCH 00/12] x86: more or less log-dirty related improvements


  • To: "xen-devel@xxxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxxx>
  • From: Jan Beulich <jbeulich@xxxxxxxx>
  • Date: Fri, 25 Jun 2021 15:15:29 +0200
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=suse.com; dmarc=pass action=none header.from=suse.com; dkim=pass header.d=suse.com; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=aKwyIGLXnRebabJB5E/m6YXe6q4iLMqI5AW5V8QxUJw=; b=LTmRSG5y9T/jlEokJZIkQeErZS0Z2N88bel4UlAUNVe160mY5nsMS1SauUQyBkZOxeEeU2CY4iEwQsDjDsS2zN1HrPcdOQ4w9hPIV0H+c2HzO8x/P39OWLOkr0655f5TKyLveRGu1ULhFKYTddpxaT/5g/AsUyYDp2VvEWLlgQryPkDILzFh4o+msA2Drgc9AnVq4ZnqLNSqxfkKWMjXIWWE3p45odmpsrxgYhbsMg3cVoS2Sl9s98fKowqHSbuUQ1GoXPK1yRwiLwHhrdbsMTaFXVJE9mGBYe0EVt8FKYEdTPHEAY4KHG9vSOeDYxourf27Dyee20Yp58HMzr/2SA==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=hABQ9sNBqgoQKpRkLLnziZpwwTUqKpQf+pi6F2Wq9bQAiJtNTU/UMNSLOBILcFjYt2TMGqXzk9nSZKyqWaJKU2+XBGFTaN7POndHMmc0JZq/omMzY6K1FtS7PDuycoFX+/3C0iSxJDIxrLbcC/3XQ5VH1jA4yT7XbYUrCWe7bZo0FyKBcGGrl99ESuYbE5AnoyMOWNsZi0lKQNQf10Q6J46BN9l4Am/Ti3Ju0dLwdt/yItq+urBtqF9dgmqQtENdbv65Wck1q7dBqZGR8Vu/TLVXGqWW8tPM28cBh9OY+JSpnOfjgdICG8gU6qyO9V/pjBcSa8ImYoKvK+vZaV1W7Q==
  • Authentication-results: xenproject.org; dkim=none (message not signed) header.d=none;xenproject.org; dmarc=none action=none header.from=suse.com;
  • Cc: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>, Wei Liu <wl@xxxxxxx>, Roger Pau Monné <roger.pau@xxxxxxxxxx>, Juergen Gross <jgross@xxxxxxxx>, George Dunlap <george.dunlap@xxxxxxxxxx>, Ian Jackson <iwj@xxxxxxxxxxxxxx>
  • Delivery-date: Fri, 25 Jun 2021 13:15:53 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

... or so I hope. This series continues the attempt to deal with
the ovmf change putting the shared info page at a very high address
(which is now planned to get reverted there, but the general
problem doesn't go away by them doing so). There are further issues
with truncated value, which are being dealt with here. But there
are also not directly related changes, when I simply spotted things
that aren't very likely to be right the way they are. And then
there are also adjustments to the underlying hypervisor
implementation, with the goal of making the returned data more
useful to the consumers.

With these changes in place, a 1Gb guest which has "inflated"
itself by putting a page right below the 16Tb boundary migrates
successfully, albeit the process takes from some 20 minutes to over
half an hour on my test system.

01: libxc: split xc_logdirty_control() from xc_shadow_control()
02: libxenguest: deal with log-dirty op stats overflow
03: libxenguest: short-circuit "all-dirty" handling
04: libxenguest: avoid allocating unused deferred-pages bitmap
05: libxenguest: complete loops in xc_map_domain_meminfo()
06: libxenguest: guard against overflow from too large p2m when checkpointing
07: libxenguest: fix off-by-1 in colo-secondary-bitmap merging
08: x86/paging: deal with log-dirty stats overflow
09: x86/paging: supply more useful log-dirty page count
10: x86/mm: update log-dirty bitmap when manipulating P2M
11: x86/mm: pull a sanity check earlier in xenmem_add_to_physmap_one()
12: SUPPORT.md: write down restriction of 32-bit tool stacks

Jan




 


Rackspace

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