WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] [PATCH 00 of 24] xenpaging fixes for xen-unstable

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] [PATCH 00 of 24] xenpaging fixes for xen-unstable
From: Olaf Hering <olaf@xxxxxxxxx>
Date: Mon, 03 Oct 2011 17:54:37 +0200
Delivery-date: Mon, 03 Oct 2011 08:55:48 -0700
Dkim-signature: v=1; a=rsa-sha1; c=relaxed/relaxed; t=1317657280; l=1524; s=domk; d=aepfle.de; h=To:From:Date:Subject:Content-Transfer-Encoding:MIME-Version: Content-Type:X-RZG-CLASS-ID:X-RZG-AUTH; bh=d/Qde0RMXwj4jo9QK0Bgy8OkcO4=; b=V83NzHfhrn829g4/EEMGZzgEDg8vHPPyETO/0HCicCFs/iaepbtF+a4hKzod4W3qgk5 UFkCpfqaNS/JdHr+x8iPyjCsLER/lLI2LLuHYixOhJw8kbWoN/sV4tDAwceiIxyZADMa3 KDOwng6CY3xqCnYQSxSe08R/EdH9ShOt/Hs=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mercurial-patchbomb/1.7.5
The following series adds support for xenpaging to libxl and the xl command.
A few code cleanup changes are also part of this series.

The logic of xenpaging was reversed.
It does now monitor the guests tot_pages value and work toward that number by
either paging out more pages, or write pages back into the guest.

Three new configuration file options specific for xenpaging were added:
totmem=<int>
xenpaging_file=<string>
xenpaging_extra=[ 'string', 'string' ]

A new xl command 'mem-tot_pages' instructs xenpaging to adjust its pagefile
size, and it instructs the xl monitor process to actually start xenpaging if
totmem= was not specified in the config file.

Please review and apply.

Olaf


 Config.mk                        |    2 
 config/StdGNU.mk                 |    2 
 tools/libxc/xc_bitops.h          |    6 
 tools/libxl/libxl.c              |  121 +++++++++
 tools/libxl/libxl.h              |    5 
 tools/libxl/libxl_create.c       |  146 +++++++++++
 tools/libxl/libxl_device.c       |   84 ------
 tools/libxl/libxl_dm.c           |   65 +----
 tools/libxl/libxl_dom.c          |    8 
 tools/libxl/libxl_exec.c         |  142 +++++++++++
 tools/libxl/libxl_internal.h     |   33 ++
 tools/libxl/libxl_paths.c        |    5 
 tools/libxl/libxl_types.idl      |    4 
 tools/libxl/xl.h                 |    1 
 tools/libxl/xl_cmdimpl.c         |   71 +++++
 tools/libxl/xl_cmdtable.c        |    5 
 tools/xenpaging/Makefile         |    6 
 tools/xenpaging/file_ops.c       |    6 
 tools/xenpaging/policy_default.c |   23 +
 tools/xenpaging/xenpaging.c      |  479 ++++++++++++++++++++++++++++-----------
 tools/xenpaging/xenpaging.h      |    8 
 21 files changed, 934 insertions(+), 288 deletions(-)


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel