Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1318352
| From | Andrew Morton <akpm@linux-foundation.org> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: mm: VM_BUG_ON_PAGE(PageTail(page)) in mbind |
| Date | 2016-01-26 21:50 +0100 |
| Message-ID | <qViIN-1ad-9@gated-at.bofh.it> (permalink) |
| References | <qVbo0-4eF-33@gated-at.bofh.it> <qVipt-Vs-25@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Tue, 26 Jan 2016 22:28:29 +0200 "Kirill A. Shutemov" <kirill@shutemov.name> wrote: > Let's mark the VMA as VM_IO to indicate to mm core that the VMA is > migratable. > > ... > > --- a/drivers/scsi/sg.c > +++ b/drivers/scsi/sg.c > @@ -1261,7 +1261,7 @@ sg_mmap(struct file *filp, struct vm_area_struct *vma) > } > > sfp->mmap_called = 1; > - vma->vm_flags |= VM_DONTEXPAND | VM_DONTDUMP; > + vma->vm_flags |= VM_IO | VM_DONTEXPAND | VM_DONTDUMP; > vma->vm_private_data = sfp; > vma->vm_ops = &sg_mmap_vm_ops; > return 0; I'll put cc:stable on this - I don't think we recently did anything to make this happen?
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
mm: VM_BUG_ON_PAGE(PageTail(page)) in mbind Dmitry Vyukov <dvyukov@google.com> - 2016-01-26 14:00 +0100
Re: mm: VM_BUG_ON_PAGE(PageTail(page)) in mbind "Kirill A. Shutemov" <kirill@shutemov.name> - 2016-01-26 21:30 +0100
Re: mm: VM_BUG_ON_PAGE(PageTail(page)) in mbind Andrew Morton <akpm@linux-foundation.org> - 2016-01-26 21:50 +0100
Re: mm: VM_BUG_ON_PAGE(PageTail(page)) in mbind "Kirill A. Shutemov" <kirill@shutemov.name> - 2016-01-26 22:10 +0100
Re: mm: VM_BUG_ON_PAGE(PageTail(page)) in mbind Andrew Morton <akpm@linux-foundation.org> - 2016-01-26 21:50 +0100
Re: mm: VM_BUG_ON_PAGE(PageTail(page)) in mbind "Kirill A. Shutemov" <kirill@shutemov.name> - 2016-01-26 22:10 +0100
Re: mm: VM_BUG_ON_PAGE(PageTail(page)) in mbind Vlastimil Babka <vbabka@suse.cz> - 2016-01-26 22:40 +0100
csiph-web