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 939006 Details for
Bug 1144128
FUSE: Scheduling while atomic OOPSes when using inval_entry
[?]
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.
The patch to avoid scheduling while atomic in fuse.ko
fuse-avoid-schedule-while-atomic-2.6.32.patch (text/plain), 813 bytes, created by
Richard Sharpe
on 2014-09-18 18:14:49 UTC
(
hide
)
Description:
The patch to avoid scheduling while atomic in fuse.ko
Filename:
MIME Type:
Creator:
Richard Sharpe
Created:
2014-09-18 18:14:49 UTC
Size:
813 bytes
patch
obsolete
>--- fs/fuse/dev.c.orig 2014-06-25 12:26:58.523227249 -0400 >+++ fs/fuse/dev.c 2014-06-25 12:36:11.018226931 -0400 >@@ -618,6 +618,20 @@ > return lock_request(cs->fc, cs->req); > } > >+static void fuse_copy_unmap(struct fuse_copy_state *cs) >+{ >+ cs->buf = (void *)(cs->buf - cs->mapaddr); >+ kunmap_atomic(cs->mapaddr, KM_USER0); >+} >+ >+static void fuse_copy_remap(struct fuse_copy_state *cs) >+{ >+ cs->mapaddr = kmap_atomic(cs->pg, KM_USER0); >+ >+ cs->buf = (unsigned long)cs->buf + cs->mapaddr; >+} >+ >+ > /* Do as much copy to/from userspace buffer as we can */ > static int fuse_copy_do(struct fuse_copy_state *cs, void **val, unsigned *size) > { >@@ -936,7 +950,9 @@ > char *buf; > struct qstr name; > >+ fuse_copy_unmap(cs); > buf = kzalloc(FUSE_NAME_MAX + 1, GFP_KERNEL); >+ fuse_copy_remap(cs); > if (!buf) > goto err; >
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 Raw
Actions:
View
Attachments on
bug 1144128
: 939006