From: David Vrabel <david.vrabel@citrix.com>
To: xen-devel@lists.xensource.com
Cc: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Subject: [PATCH 0/5] xen: memory initialization/balloon fixes (#4)
Date: Wed, 28 Sep 2011 17:46:31 +0100 [thread overview]
Message-ID: <1317228396-8870-1-git-send-email-david.vrabel@citrix.com> (raw)
This set of patches fixes some bugs in the memory initialization under
Xen and in Xen's memory balloon driver. They can make 100s of MB of
additional RAM available (depending on the system/configuration).
Patch 1 is a bug fix and sould be queued for 3.1 and possibly queued
for the 3.0 stable tree.
Patch 2 is a minor cleanup in the balloon driver. Please queue for
3.2.
Patches 3 & 4 increase the amount of low memory in 32 bit domains
started with < 1 GiB of RAM. Please queue for 3.2
Patch 5 releases all pages in the initial allocation with PFNs that
lie within a 1-1 mapping. This seems correct to me as I think that
once the 1-1 mapping is set the MFN of the original page is lost so
it's no longer accessible by the kernel (and it cannot be used by
another domain).
Changes since #3:
- Dropped the two patches that have already been applied.
- Fixed an endless loop on systems with non-page aligned RAM regions.
- Updated "xen: release all pages within 1-1 p2m mappings" to handle
adjacent non-RAM regions better (particularly ones less than a page)
and to round them so partial pages are included in the 1:1 p2m map
(this should fix the dmidecode problem on systems with a DMI table
on a non-page boundary).
David
next reply other threads:[~2011-09-28 16:46 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-09-28 16:46 David Vrabel [this message]
2011-09-28 16:46 ` [PATCH 1/5] xen/balloon: account for pages released during memory setup David Vrabel
2011-09-28 16:46 ` [PATCH 2/5] xen/balloon: simplify test for the end of usable RAM David Vrabel
2011-09-28 16:46 ` [PATCH 3/5] xen: allow balloon driver to use more than one memory region David Vrabel
2011-09-28 16:46 ` [PATCH 4/5] xen: allow extra memory to be in multiple regions David Vrabel
2011-09-29 11:08 ` [PATCH] xen: release all pages within 1-1 p2m mappings David Vrabel
2011-09-29 11:29 ` David Vrabel
2011-09-29 11:26 ` [PATCH 1/2] xen: allow extra memory to be in multiple regions David Vrabel
2011-09-29 11:26 ` [PATCH 2/2] xen: release all pages within 1-1 p2m mappings David Vrabel
2011-09-28 16:46 ` [PATCH 5/5] " David Vrabel
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=1317228396-8870-1-git-send-email-david.vrabel@citrix.com \
--to=david.vrabel@citrix.com \
--cc=konrad.wilk@oracle.com \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).