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 210261 Details for
Bug 310801
Register backing store bug.
[?]
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]
Register backing store patch
rbs.patch (text/plain), 1.26 KB, created by
Andrew B
on 2007-09-28 13:00:51 UTC
(
hide
)
Description:
Register backing store patch
Filename:
MIME Type:
Creator:
Andrew B
Created:
2007-09-28 13:00:51 UTC
Size:
1.26 KB
patch
obsolete
>diff -urp linux-2.6.18/arch/ia64/mm/fault.c linux-2.6.18/arch/ia64/mm/fault.c >--- linux-2.6.18/arch/ia64/mm/fault.c 2006-09-20 04:42:06.000000000 +0100 >+++ linux-2.6.18/arch/ia64/mm/fault.c 2007-08-07 08:18:11.000000000 +0100 >@@ -125,11 +125,17 @@ ia64_do_page_fault (unsigned long addres > down_read(&mm->mmap_sem); > > vma = find_vma_prev(mm, address, &prev_vma); >- if (!vma) >+ if (!vma && !prev_vma ) > goto bad_area; > >- /* find_vma_prev() returns vma such that address < vma->vm_end or NULL */ >- if (address < vma->vm_start) >+ /* >+ * find_vma_prev() returns vma such that address < vma->vm_end or NULL >+ * >+ * May find no vma, but could be that the last vm area is the >+ * register backing store that needs to expand upwards, in >+ * this case vma will be null, but prev_vma will ne non-null >+ */ >+ if (( !vma && prev_vma ) || (address < vma->vm_start) ) > goto check_expansion; > > good_area: >@@ -184,6 +190,8 @@ ia64_do_page_fault (unsigned long addres > > check_expansion: > if (!(prev_vma && (prev_vma->vm_flags & VM_GROWSUP) && (address == prev_vma->vm_end))) { >+ if (!vma) >+ goto bad_area; > if (!(vma->vm_flags & VM_GROWSDOWN)) > goto bad_area; > if (REGION_NUMBER(address) != REGION_NUMBER(vma->vm_start)
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 310801
: 210261