On 3/29/22 18:04, David Hildenbrand wrote: > ... and instead convert page_add_anon_rmap() to accept flags. > > Passing flags instead of bools is usually nicer either way, and we want > to more often also pass RMAP_EXCLUSIVE in follow up patches when > detecting that an anonymous page is exclusive: for example, when > restoring an anonymous page from a writable migration entry. > > This is a preparation for marking an anonymous page inside > page_add_anon_rmap() as exclusive when RMAP_EXCLUSIVE is passed. > > Signed-off-by: David Hildenbrand <david@xxxxxxxxxx> Acked-by: Vlastimil Babka <vbabka@xxxxxxx>