Re: [PATCH v3 06/16] mm/rmap: remove do_page_add_anon_rmap()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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>




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux