lkml.org 
[lkml]   [2015]   [Jul]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCHv2 0/6] Make vma_is_anonymous() reliable
On Fri, Jul 17, 2015 at 02:53:07PM +0300, Kirill A. Shutemov wrote:
> We rely on ->vm_ops == NULL to detect anonymous VMA but this check is not
> always reliable:
>
> - MPX sets ->vm_ops on anonymous VMA;
>
> - many drivers don't set ->vm_ops. See for instance hpet_mmap().
>
> This patchset makes vma_is_anonymous() more reliable and makes few
> cleanups around the code.
>
> v2:
> - drop broken patch;
> - more cleanup for mpx code (Oleg);
> - vma_is_anonymous() in create_huge_pmd() and wp_huge_pmd();
>
> Kirill A. Shutemov (5):
> mm: mark most vm_operations_struct const
> x86, mpx: do not set ->vm_ops on mpx VMAs
> mm: make sure all file VMAs have ->vm_ops set
> mm: use vma_is_anonymous() in create_huge_pmd() and wp_huge_pmd()
> mm, madvise: use vma_is_anonymous() to check for anon VMA
>
> Oleg Nesterov (1):
> mm, mpx: add "vm_flags_t vm_flags" arg to do_mmap_pgoff()

ping?

--
Kirill A. Shutemov


\
 
 \ /
  Last update: 2015-07-22 00:41    [W:0.090 / U:0.308 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site