linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: Matthew Wilcox <willy@infradead.org>
To: Miaohe Lin <linmiaohe@huawei.com>
Cc: akpm@linux-foundation.org, linux-mm@kvack.org,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH] mm/rmap: Correct obsolete comment of page_get_anon_vma()
Date: Thu, 4 Feb 2021 12:38:07 +0000	[thread overview]
Message-ID: <20210204123807.GE308988@casper.infradead.org> (raw)
In-Reply-To: <20210203093215.31990-1-linmiaohe@huawei.com>

On Wed, Feb 03, 2021 at 04:32:15AM -0500, Miaohe Lin wrote:
>   * Since there is no serialization what so ever against page_remove_rmap()
> - * the best this function can do is return a locked anon_vma that might
> - * have been relevant to this page.
> + * the best this function can do is return a refcount increased anon_vma
> + * that might have been relevant to this page.

Just s/a locked/an/
there's no need to mention again that the refcount
is increased.


  reply	other threads:[~2021-02-04 12:38 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-02-03  9:32 [PATCH] mm/rmap: Correct obsolete comment of page_get_anon_vma() Miaohe Lin
2021-02-04 12:38 ` Matthew Wilcox [this message]
2021-02-05  3:11   ` Miaohe Lin

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=20210204123807.GE308988@casper.infradead.org \
    --to=willy@infradead.org \
    --cc=akpm@linux-foundation.org \
    --cc=linmiaohe@huawei.com \
    --cc=linux-kernel@vger.kernel.org \
    --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;
as well as URLs for NNTP newsgroup(s).