[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <ZRxMRjZqZ7Oj45aY@unknowna0e70b2ca394.attlocal.net>
Date: Tue, 3 Oct 2023 10:15:50 -0700
From: Vishal Moola <vishal.moola@...il.com>
To: David Hildenbrand <david@...hat.com>
Cc: linux-kernel@...r.kernel.org, linux-mm@...ck.org,
Andrew Morton <akpm@...ux-foundation.org>,
Mike Kravetz <mike.kravetz@...cle.com>,
Muchun Song <muchun.song@...ux.dev>,
Suren Baghdasaryan <surenb@...gle.com>
Subject: Re: [PATCH v1 1/3] mm/rmap: move SetPageAnonExclusive() out of
page_move_anon_rmap()
On Mon, Oct 02, 2023 at 04:29:47PM +0200, David Hildenbrand wrote:
> Let's move it into the caller: there is a difference between whether an
> anon folio can only be mapped by one process (e.g., into one VMA), and
> whether it is truly exclusive (e.g., no references -- including GUP --
> from other processes).
>
> Further, for large folios the page might not actually be pointing at the
> head page of the folio, so it better be handled in the caller. This is a
> preparation for converting page_move_anon_rmap() to consume a folio.
Reviewed-by: Vishal Moola (Oracle) <vishal.moola@...il.com>
Powered by blists - more mailing lists