Re: [PATCH] mm/rmap: Correct obsolete comment of page_get_anon_vma()

From: Matthew Wilcox
Date: Thu Feb 04 2021 - 07:39:05 EST


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.