Mailing List Archive

[PATCH 00 of 18] Memory sharing overhaul
This patch series proposes an overhaul of the memory sharing code.

Aside from bug fixes and cleanups, the main features are:
- Polling of stats via libxc, libxl and console
- Removal of global sharing hashtable and global sharing lock
(if audit disabled)
- Turned sharing audits into a domctl
- New domctl to populate vacant physmap entries with shared
pages.

As a result, the domctl interface to sharing changes. The only in-tree
consumer of this interface is updated in the current series. It is
important that if any out-of-tree consumer exists, that they state
their opinion on this interface change.

Patches 5 to 8, 10, 11, 15 and 18 are tools patches.

Signed-off-by: Andres Lagar-Cavilla <andres@lagarcavilla.org>
Signed-off-by: Adin Scannell <adin@scannell.ca>

xen/arch/x86/mm.c | 6 +-
xen/arch/x86/mm/mem_sharing.c | 91 +++--
xen/arch/x86/mm.c | 2 +-
xen/arch/x86/mm/mem_sharing.c | 526 +++++++++++++++++----------------
xen/include/asm-x86/mem_sharing.h | 15 +-
xen/include/asm-x86/mm.h | 11 +-
xen/include/public/domctl.h | 3 +
xen/arch/x86/mm/mem_sharing.c | 65 +++-
xen/include/public/domctl.h | 9 +
tools/libxc/xc_memshr.c | 3 +-
tools/libxc/xenctrl.h | 1 +
tools/libxc/xc_memshr.c | 19 +-
tools/libxc/xenctrl.h | 7 +-
tools/blktap2/drivers/Makefile | 2 +-
tools/blktap2/drivers/tapdisk-image.c | 2 +-
tools/blktap2/drivers/tapdisk-vbd.c | 6 +-
tools/blktap2/drivers/tapdisk.h | 6 +-
tools/memshr/bidir-daemon.c | 4 +
tools/memshr/bidir-hash.h | 13 +-
tools/memshr/interface.c | 31 +-
tools/memshr/memshr.h | 11 +-
tools/libxl/xl.h | 1 +
tools/libxl/xl_cmdimpl.c | 85 +++++
tools/libxl/xl_cmdtable.c | 6 +
xen/arch/x86/mm.c | 6 -
xen/arch/x86/mm/mem_sharing.c | 31 +-
xen/arch/x86/x86_64/compat/mm.c | 6 +
xen/arch/x86/x86_64/mm.c | 7 +
xen/include/asm-x86/mem_sharing.h | 1 +
xen/include/public/memory.h | 1 +
tools/libxc/xc_private.c | 10 +
tools/libxc/xenctrl.h | 4 +
tools/libxl/Makefile | 2 +-
tools/libxl/xl_cmdimpl.c | 13 +-
xen/arch/x86/mm.c | 4 +-
xen/include/asm-x86/mm.h | 3 +
xen/arch/x86/mm.c | 16 +-
xen/arch/x86/mm/mem_sharing.c | 169 +++++++++-
xen/arch/x86/mm/mm-locks.h | 6 +-
xen/include/asm-x86/mm.h | 2 +-
xen/arch/x86/mm/mem_sharing.c | 106 ++++++
xen/include/public/domctl.h | 3 +-
tools/libxc/xc_memshr.c | 23 +
tools/libxc/xenctrl.h | 6 +
xen/arch/ia64/xen/mm.c | 6 +
xen/arch/x86/mm/mem_sharing.c | 8 +
xen/common/keyhandler.c | 7 +-
xen/include/xen/mm.h | 3 +
xen/arch/x86/mm/mem_sharing.c | 17 +-
xen/include/public/domctl.h | 1 +
tools/libxc/xc_memshr.c | 14 +
tools/libxc/xenctrl.h | 2 +
52 files changed, 1005 insertions(+), 397 deletions(-)

______________________________________________________________________
This email has been scanned by the Symantec Email Security.cloud service.
For more information please visit http://www.symanteccloud.com
______________________________________________________________________

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