Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 148801 Details for
Bug 220592
kernel boot panic with >=64GB memory
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
RHEL5 Patch: auto-limit dom0 memory allocation to 32G
xen-auto-limit-dom0-32G-2.patch (text/plain), 1.81 KB, created by
Chris Lalancette
on 2007-02-26 15:54:09 UTC
(
hide
)
Description:
RHEL5 Patch: auto-limit dom0 memory allocation to 32G
Filename:
MIME Type:
Creator:
Chris Lalancette
Created:
2007-02-26 15:54:09 UTC
Size:
1.81 KB
patch
obsolete
>diff -urp xen.patched/arch/x86/domain_build.c xen/arch/x86/domain_build.c >--- xen.patched/arch/x86/domain_build.c 2006-10-16 16:07:15.000000000 -0400 >+++ xen/arch/x86/domain_build.c 2007-02-23 14:52:34.000000000 -0500 >@@ -269,23 +269,30 @@ int construct_dom0(struct domain *d, > > d->max_pages = ~0U; > >- /* >- * If domain 0 allocation isn't specified, reserve 1/16th of available >- * memory for things like DMA buffers. This reservation is clamped to >- * a maximum of 128MB. >- */ > if ( dom0_nrpages == 0 ) > { >+ /* >+ * If domain 0 allocation isn't specified, reserve 1/16th of available >+ * memory for things like DMA buffers. This reservation is clamped to >+ * a maximum of 128MB. >+ */ > dom0_nrpages = avail_domheap_pages() + initial_images_nrpages(); > dom0_nrpages = min(dom0_nrpages / 16, 128L << (20 - PAGE_SHIFT)); >- dom0_nrpages = -dom0_nrpages; >+ nr_pages = avail_domheap_pages() + initial_images_nrpages() - >+ dom0_nrpages; >+ /* >+ * On systems with >= 64GB the DMA heap is not always large enough >+ * to start up a full sized dom0. Since people will be carving up >+ * such systems into virtual machines anyway, limit dom0 to 32GB. >+ */ >+ nr_pages = min(nr_pages, 32UL << (30 - PAGE_SHIFT)); > } >- >- /* Negative memory specification means "all memory - specified amount". */ >- if ( dom0_nrpages < 0 ) >+ else if ( dom0_nrpages < 0 ) >+ /* Negative memory specification means "all memory - specified amount". */ > nr_pages = avail_domheap_pages() + initial_images_nrpages() + > dom0_nrpages; > else >+ /* The user specified a dom0_mem= option. Do not override. */ > nr_pages = dom0_nrpages; > > if ( (rc = parseelfimage(&dsi)) != 0 )
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 220592
:
144270
|
144362
|
144363
|
144364
|
144387
|
145875
|
145914
|
145966
|
145968
|
148554
|
148800
| 148801