Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1589581
| From | Andrea Arcangeli <aarcange@redhat.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: mm: fault in __do_fault |
| Date | 2017-02-28 17:00 +0100 |
| Message-ID | <tfSlX-6te-15@gated-at.bofh.it> (permalink) |
| References | <tfQDw-5uI-33@gated-at.bofh.it> <tfSlX-6te-17@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Tue, Feb 28, 2017 at 06:32:20PM +0300, Kirill A. Shutemov wrote: > Andrea, does it look okay for you? > > diff --git a/fs/userfaultfd.c b/fs/userfaultfd.c > index 625b7285a37b..56f61f1a1dc1 100644 > --- a/fs/userfaultfd.c > +++ b/fs/userfaultfd.c > @@ -489,7 +489,7 @@ int handle_userfault(struct vm_fault *vmf, unsigned long reason) > * in such case. > */ > down_read(&mm->mmap_sem); > - ret = 0; > + ret = VM_FAULT_NOPAGE; > } > } Yes, I did the same fix.
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
mm: fault in __do_fault Dmitry Vyukov <dvyukov@google.com> - 2017-02-28 15:10 +0100
Re: mm: fault in __do_fault Andrea Arcangeli <aarcange@redhat.com> - 2017-02-28 16:50 +0100
Re: mm: fault in __do_fault Dmitry Vyukov <dvyukov@google.com> - 2017-03-03 08:50 +0100
Re: mm: fault in __do_fault Andrea Arcangeli <aarcange@redhat.com> - 2017-02-28 17:00 +0100
Re: mm: fault in __do_fault "Kirill A. Shutemov" <kirill@shutemov.name> - 2017-02-28 17:40 +0100
csiph-web