All of lore.kernel.org
 help / color / mirror / Atom feed
* xen: memory initialization/balloon fixes (#2)
@ 2011-08-19 14:57 David Vrabel
  2011-08-19 14:57 ` [PATCH 1/5] xen: use maximum reservation to limit amount of usable RAM David Vrabel
                   ` (5 more replies)
  0 siblings, 6 replies; 21+ 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] 21+ messages in thread
* [PATCH 0/5] xen: memory initialization/balloon fixes (#4)
@ 2011-09-28 16:46 David Vrabel
  2011-09-28 16:46 ` [PATCH 3/5] xen: allow balloon driver to use more than one memory region David Vrabel
  0 siblings, 1 reply; 21+ 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] 21+ messages in thread

end of thread, other threads:[~2011-09-28 16:46 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-08-19 14:57 xen: memory initialization/balloon fixes (#2) David Vrabel
2011-08-19 14:57 ` [PATCH 1/5] xen: use maximum reservation to limit amount of usable RAM David Vrabel
2011-08-31 20:40   ` Konrad Rzeszutek Wilk
2011-09-01 12:12     ` David Vrabel
2011-09-01 13:14       ` Konrad Rzeszutek Wilk
2011-08-19 14:57 ` [PATCH 2/5] xen/balloon: account for pages released during memory setup David Vrabel
2011-09-06 21:31   ` Konrad Rzeszutek Wilk
2011-09-08 15:01     ` David Vrabel
2011-08-19 14:57 ` [PATCH 3/5] xen: allow balloon driver to use more than one memory region David Vrabel
2011-09-06 21:57   ` Konrad Rzeszutek Wilk
2011-09-07 10:44     ` David Vrabel
2011-09-07 18:09       ` Konrad Rzeszutek Wilk
2011-08-19 14:57 ` [PATCH 4/5] xen: allow extra memory to be in multiple regions David Vrabel
2011-09-07 12:28   ` Konrad Rzeszutek Wilk
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
2011-08-22 14:49 ` xen: memory initialization/balloon fixes (#2) Konrad Rzeszutek Wilk
2011-09-28 16:46 [PATCH 0/5] xen: memory initialization/balloon fixes (#4) David Vrabel
2011-09-28 16:46 ` [PATCH 3/5] xen: allow balloon driver to use more than one memory region David Vrabel

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.