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@xxxxxxxxx>