linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: chenqiwu <qiwuchen55@gmail.com>
To: "Kirill A. Shutemov" <kirill@shutemov.name>
Cc: akpm@linux-foundation.org, linux-mm@kvack.org,
	chenqiwu <chenqiwu@xiaomi.com>
Subject: Re: [PATCH] mm/rmap: ensure the validity of mapping vma which referenced an anon page
Date: Wed, 11 Mar 2020 18:31:37 +0800	[thread overview]
Message-ID: <20200311103137.GA32509@cqw-OptiPlex-7050> (raw)
In-Reply-To: <20200311091943.szpvgb3tsc6ss74z@box>

On Wed, Mar 11, 2020 at 12:19:43PM +0300, Kirill A. Shutemov wrote:
> On Wed, Mar 11, 2020 at 03:45:13PM +0800, qiwuchen55@gmail.com wrote:
> > From: chenqiwu <chenqiwu@xiaomi.com>
> > 
> > When finding all the mapping vmas for an anon page by anon_vma, there
> > is a panic risk that one mapping vma or its vm_mm has been released by
> > someone.
> 
> What? Who would be able to release the VMA or the mm_struct? We hold
> anon_vma lock. It doesn't make sense to me. Something else is broken.
>

There is only log (no kdump) in my hand. It's hard to say who released the
VMA's mm_struct before we hold the anon_vma lock.


      reply	other threads:[~2020-03-11 10:31 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-03-11  7:45 qiwuchen55
2020-03-11  9:19 ` Kirill A. Shutemov
2020-03-11 10:31   ` chenqiwu [this message]

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=20200311103137.GA32509@cqw-OptiPlex-7050 \
    --to=qiwuchen55@gmail.com \
    --cc=akpm@linux-foundation.org \
    --cc=chenqiwu@xiaomi.com \
    --cc=kirill@shutemov.name \
    --cc=linux-mm@kvack.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox