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 311875 Details for
Bug 455504
Backport of don't use large pages to map the first 2/4MB of memory form 2.6.26 to RHEL5-U3
[?]
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]
Patch to use 4KB pages for first 2MB of kernel space.
rhel5u3-meminit.patch (text/plain), 968 bytes, created by
Larry Woodman
on 2008-07-15 19:26:47 UTC
(
hide
)
Description:
Patch to use 4KB pages for first 2MB of kernel space.
Filename:
MIME Type:
Creator:
Larry Woodman
Created:
2008-07-15 19:26:47 UTC
Size:
968 bytes
patch
obsolete
>--- linux-2.6.18.noarch/arch/i386/mm/init.c.orig 2008-07-15 15:09:05.000000000 -0400 >+++ linux-2.6.18.noarch/arch/i386/mm/init.c 2008-07-15 15:09:08.000000000 -0400 >@@ -162,8 +162,13 @@ static void __init kernel_physical_mappi > for (pmd_idx = 0; pmd_idx < PTRS_PER_PMD && pfn < max_low_pfn; pmd++, pmd_idx++) { > unsigned int address = pfn * PAGE_SIZE + PAGE_OFFSET; > >- /* Map with big pages if possible, otherwise create normal page tables. */ >- if (cpu_has_pse) { >+ /* Map with big pages if possible, otherwise create normal page tables. >+ * Don't use a large page for the first 2/4MB of memory >+ * because there are often fixed size MTRRs in there >+ * and overlapping MTRRs into large pages can cause >+ * slowdowns. >+ */ >+ if (cpu_has_pse && !(pgd_idx == 0 && pmd_idx == 0)) { > unsigned int address2 = (pfn + PTRS_PER_PTE - 1) * PAGE_SIZE + PAGE_OFFSET + PAGE_SIZE-1; > > if (is_kernel_text(address) || is_kernel_text(address2))
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 455504
: 311875