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 899375 Details for
Bug 1099985
[abrt] BUG: Bad page map in process java-abrt pte:00000320 pmd:3a241067
[?]
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]
NUMA patch
numapagetable.patch (text/plain), 1.90 KB, created by
Alan Hamilton
on 2014-05-27 03:33:09 UTC
(
hide
)
Description:
NUMA patch
Filename:
MIME Type:
Creator:
Alan Hamilton
Created:
2014-05-27 03:33:09 UTC
Size:
1.90 KB
patch
obsolete
>diff -uNr a/include/asm-generic/pgtable.h b/include/asm-generic/pgtable.h >--- linux-3.14.4-200.local.fc20.x86_64/include/asm-generic/pgtable.h 2014-03-30 20:40:15.000000000 -0700 >+++ b/include/asm-generic/pgtable.h 2014-05-26 11:51:00.168345722 -0700 >@@ -193,6 +193,19 @@ > } > #endif > >+#ifndef __HAVE_ARCH_PTE_UNUSED >+/* >+ * Some architectures provide facilities to virtualization guests >+ * so that they can flag allocated pages as unused. This allows the >+ * host to transparently reclaim unused pages. This function returns >+ * whether the pte's page is unused. >+ */ >+static inline int pte_unused(pte_t pte) >+{ >+ return 0; >+} >+#endif >+ > #ifndef __HAVE_ARCH_PMD_SAME > #ifdef CONFIG_TRANSPARENT_HUGEPAGE > static inline int pmd_same(pmd_t pmd_a, pmd_t pmd_b) >@@ -680,24 +693,35 @@ > #ifndef pte_mknonnuma > static inline pte_t pte_mknonnuma(pte_t pte) > { >- pte = pte_clear_flags(pte, _PAGE_NUMA); >- return pte_set_flags(pte, _PAGE_PRESENT|_PAGE_ACCESSED); >+ pteval_t val = pte_val(pte); >+ >+ val &= ~_PAGE_NUMA; >+ val |= (_PAGE_PRESENT|_PAGE_ACCESSED); >+ return __pte(val); > } > #endif > > #ifndef pmd_mknonnuma > static inline pmd_t pmd_mknonnuma(pmd_t pmd) > { >- pmd = pmd_clear_flags(pmd, _PAGE_NUMA); >- return pmd_set_flags(pmd, _PAGE_PRESENT|_PAGE_ACCESSED); >+ pmdval_t val = pmd_val(pmd); >+ >+ val &= ~_PAGE_NUMA; >+ val |= (_PAGE_PRESENT|_PAGE_ACCESSED); >+ >+ return __pmd(val); > } > #endif > > #ifndef pte_mknuma > static inline pte_t pte_mknuma(pte_t pte) > { >- pte = pte_set_flags(pte, _PAGE_NUMA); >- return pte_clear_flags(pte, _PAGE_PRESENT); >+ pteval_t val = pte_val(pte); >+ >+ val &= ~_PAGE_PRESENT; >+ val |= _PAGE_NUMA; >+ >+ return __pte(val); > } > #endif > >@@ -716,8 +740,12 @@ > #ifndef pmd_mknuma > static inline pmd_t pmd_mknuma(pmd_t pmd) > { >- pmd = pmd_set_flags(pmd, _PAGE_NUMA); >- return pmd_clear_flags(pmd, _PAGE_PRESENT); >+ pmdval_t val = pmd_val(pmd); >+ >+ val &= ~_PAGE_PRESENT; >+ val |= _PAGE_NUMA; >+ >+ return __pmd(val); > } > #endif >
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 1099985
:
898080
|
898715
| 899375