xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/5] xen: memory initialization/balloon fixes (#4)
@ 2011-09-28 16:46 David Vrabel
  2011-09-28 16:46 ` [PATCH 1/5] xen/balloon: account for pages released during memory setup David Vrabel
                   ` (4 more replies)
  0 siblings, 5 replies; 15+ messages in thread
From: David Vrabel @ 2011-09-28 16:46 UTC (permalink / raw)
  To: xen-devel; +Cc: Konrad Rzeszutek Wilk

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

^ permalink raw reply	[flat|nested] 15+ messages in thread
* xen: memory initialization/balloon fixes (#2)
@ 2011-08-19 14:57 David Vrabel
  2011-08-19 14:57 ` [PATCH 5/5] xen: release all pages within 1-1 p2m mappings David Vrabel
  0 siblings, 1 reply; 15+ messages in thread
From: David Vrabel @ 2011-08-19 14:57 UTC (permalink / raw)
  To: xen-devel; +Cc: Konrad Rzeszutek Wilk

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).

Patches 1 & 2 are fixes and should be queued for 3.1 and possibly
queued for the 3.0 stable tree.

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 as the Xen still thinks its used by the original
domain).

Changes since #1

- Reordered patches to put "xen: use maximum reservation to limit
  amount of usable RAM" first.
- Check maximum reservation for domU as well.
- New patch "xen/balloon: account for pages released during memory
  setup"
- Added explicit check of size when adding regions in the balloon
  driver.
- New patch "xen: release all pages within 1-1 p2m mappings"

David

^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2011-09-29 11:29 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-09-28 16:46 [PATCH 0/5] xen: memory initialization/balloon fixes (#4) David Vrabel
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
  -- strict thread matches above, loose matches on Subject: below --
2011-08-19 14:57 xen: memory initialization/balloon fixes (#2) David Vrabel
2011-08-19 14:57 ` [PATCH 5/5] xen: release all pages within 1-1 p2m mappings David Vrabel
2011-08-19 15:05   ` David Vrabel
2011-09-06 21:20   ` Konrad Rzeszutek Wilk
2011-09-07 11:03     ` David Vrabel
2011-09-07 18:23       ` Konrad Rzeszutek Wilk

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).