All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Kirill A. Shutemov" <kirill@shutemov.name>
To: Andrew Morton <akpm@linux-foundation.org>
Cc: "Kirill A. Shutemov" <kirill.shutemov@linux.intel.com>,
	Oleg Nesterov <oleg@redhat.com>,
	linux-mm@kvack.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCHv2 0/6] Make vma_is_anonymous() reliable
Date: Wed, 22 Jul 2015 01:14:29 +0300	[thread overview]
Message-ID: <20150721221429.GA7478@node.dhcp.inet.fi> (raw)
In-Reply-To: <1437133993-91885-1-git-send-email-kirill.shutemov@linux.intel.com>

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

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

WARNING: multiple messages have this Message-ID (diff)
From: "Kirill A. Shutemov" <kirill@shutemov.name>
To: Andrew Morton <akpm@linux-foundation.org>
Cc: "Kirill A. Shutemov" <kirill.shutemov@linux.intel.com>,
	Oleg Nesterov <oleg@redhat.com>,
	linux-mm@kvack.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCHv2 0/6] Make vma_is_anonymous() reliable
Date: Wed, 22 Jul 2015 01:14:29 +0300	[thread overview]
Message-ID: <20150721221429.GA7478@node.dhcp.inet.fi> (raw)
In-Reply-To: <1437133993-91885-1-git-send-email-kirill.shutemov@linux.intel.com>

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

  parent reply	other threads:[~2015-07-21 22:14 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-07-17 11:53 [PATCHv2 0/6] Make vma_is_anonymous() reliable Kirill A. Shutemov
2015-07-17 11:53 ` Kirill A. Shutemov
2015-07-17 11:53 ` [PATCHv2 1/6] mm: mark most vm_operations_struct const Kirill A. Shutemov
2015-07-17 11:53   ` Kirill A. Shutemov
2015-07-17 12:16   ` Christoph Hellwig
2015-07-17 12:16     ` Christoph Hellwig
2015-07-17 12:17     ` Kirill A. Shutemov
2015-07-17 12:17       ` Kirill A. Shutemov
2015-07-17 11:53 ` [PATCHv2 2/6] x86, mpx: do not set ->vm_ops on mpx VMAs Kirill A. Shutemov
2015-07-17 11:53   ` Kirill A. Shutemov
2015-07-23 20:59   ` Andrew Morton
2015-07-23 20:59     ` Andrew Morton
2015-07-23 21:08     ` Kirill A. Shutemov
2015-07-23 21:08       ` Kirill A. Shutemov
2015-07-17 11:53 ` [PATCHv2 3/6] mm, mpx: add "vm_flags_t vm_flags" arg to do_mmap_pgoff() Kirill A. Shutemov
2015-07-17 11:53   ` Kirill A. Shutemov
2015-07-17 11:53 ` [PATCHv2 4/6] mm: make sure all file VMAs have ->vm_ops set Kirill A. Shutemov
2015-07-17 11:53   ` Kirill A. Shutemov
2015-07-17 11:53 ` [PATCHv2 5/6] mm: use vma_is_anonymous() in create_huge_pmd() and wp_huge_pmd() Kirill A. Shutemov
2015-07-17 11:53   ` Kirill A. Shutemov
2015-07-17 11:53 ` [PATCHv2 6/6] mm, madvise: use vma_is_anonymous() to check for anon VMA Kirill A. Shutemov
2015-07-17 11:53   ` Kirill A. Shutemov
2015-07-21 22:14 ` Kirill A. Shutemov [this message]
2015-07-21 22:14   ` [PATCHv2 0/6] Make vma_is_anonymous() reliable Kirill A. Shutemov
2015-07-21 23:39   ` Andrew Morton
2015-07-21 23:39     ` Andrew Morton
2015-07-21 23:54     ` Kirill A. Shutemov
2015-07-21 23:54       ` Kirill A. Shutemov
2015-07-22 21:41     ` Oleg Nesterov
2015-07-22 21:41       ` Oleg Nesterov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20150721221429.GA7478@node.dhcp.inet.fi \
    --to=kirill@shutemov.name \
    --cc=akpm@linux-foundation.org \
    --cc=kirill.shutemov@linux.intel.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mm@kvack.org \
    --cc=oleg@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.