Messages in this thread | | | Date | Tue, 3 Oct 2023 10:15:50 -0700 | From | Vishal Moola <> | 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@gmail.com>
| |