From: Andres Lagar-Cavilla <andres@lagarcavilla.org>
To: xen-devel@lists.xensource.com
Cc: ian.campbell@citrix.com, andres@gridcentric.ca, tim@xen.org,
keir.xen@gmail.com, JBeulich@suse.com, ian.jackson@citrix.com,
adin@gridcentric.ca
Subject: [PATCH 0 of 5] Memory sharing overhaul part 2
Date: Thu, 08 Dec 2011 08:54:36 -0500 [thread overview]
Message-ID: <patchbomb.1323352476@xdev.gridcentric.ca> (raw)
(Sigh, the previous pachbomb got truncated by an smtp quota in my
provider... remaining patches in this series)
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/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 +
12 files changed, 188 insertions(+), 8 deletions(-)
next reply other threads:[~2011-12-08 13:54 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-12-08 13:54 Andres Lagar-Cavilla [this message]
2011-12-08 13:54 ` [PATCH 1 of 5] Add a shared page to the physmap Andres Lagar-Cavilla
2011-12-08 13:54 ` [PATCH 2 of 5] Tools: Libxc wrappers to add shared pages to physmap Andres Lagar-Cavilla
2011-12-08 13:54 ` [PATCH 3 of 5] Add the ability to poll stats about shared memory via the console Andres Lagar-Cavilla
2011-12-08 13:54 ` [PATCH 4 of 5] Adds a separate domctl for performing sharing audits Andres Lagar-Cavilla
2011-12-08 13:54 ` [PATCH 5 of 5] Tools: Libxc wrapper for the new sharing audit domctl Andres Lagar-Cavilla
2011-12-08 14:40 ` [PATCH 0 of 5] Memory sharing overhaul part 2 Jan Beulich
2011-12-08 16:05 ` Andres Lagar-Cavilla
2011-12-08 14:46 ` Jan Beulich
2011-12-08 22:40 ` Tim Deegan
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=patchbomb.1323352476@xdev.gridcentric.ca \
--to=andres@lagarcavilla.org \
--cc=JBeulich@suse.com \
--cc=adin@gridcentric.ca \
--cc=andres@gridcentric.ca \
--cc=ian.campbell@citrix.com \
--cc=ian.jackson@citrix.com \
--cc=keir.xen@gmail.com \
--cc=tim@xen.org \
--cc=xen-devel@lists.xensource.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.