|
|
|
|
|
|
|
|
|
|
xen-changelog
[Xen-changelog] [xen-unstable] [IA64] Increase hypervisor memory reserva
# HG changeset patch
# User Alex Williamson <alex.williamson@xxxxxx>
# Date 1206043927 21600
# Node ID 6bdb343977010df67469be15bb88dce7d93668bb
# Parent c7a58a81c4b849dff2dbed3e19b5386af0984f45
[IA64] Increase hypervisor memory reservation
Recent additions to the xen codebase have inflated the memory requirements
of the hypervisor a bit. To compensate, we need to increase the amount of
memory we try to reserve for the hypervisor when allocating "all" system
memory to dom0.
Fixes kernel panics on a 2GB rx2600 in our lab, as well as on misc. test
systems with between 16 and 128GB when they're configured to allocate "all"
memory to dom0.
Signed-off-by: Jarod Wilson <jwilson@xxxxxxxxxx>
---
xen/arch/ia64/xen/domain.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff -r c7a58a81c4b8 -r 6bdb34397701 xen/arch/ia64/xen/domain.c
--- a/xen/arch/ia64/xen/domain.c Thu Mar 20 14:06:46 2008 -0600
+++ b/xen/arch/ia64/xen/domain.c Thu Mar 20 14:12:07 2008 -0600
@@ -1943,10 +1943,10 @@ static void __init calc_dom0_size(void)
* for DMA and PCI mapping from the available domheap pages. The
* chunk for DMA, PCI, etc., is a guestimate, as xen doesn't seem
* to have a good idea of what those requirements might be ahead
- * of time, calculated at 1MB per 4GB of system memory */
+ * of time, calculated at 128MB + 1MB per 4GB of system memory */
domheap_pages = avail_domheap_pages();
p2m_pages = domheap_pages / PTRS_PER_PTE;
- spare_hv_pages = domheap_pages / 4096;
+ spare_hv_pages = 8192 + (domheap_pages / 4096);
max_dom0_size = (domheap_pages - (p2m_pages + spare_hv_pages))
* PAGE_SIZE;
printk("Maximum permitted dom0 size: %luMB\n",
_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- [Xen-changelog] [xen-unstable] [IA64] Increase hypervisor memory reservation,
Xen patchbot-unstable <=
|
|
|
|
|