On 11/16/22 11:26, David Hildenbrand wrote:
We want to extent FAULT_FLAG_UNSHARE support to anything mapped into a COW mapping (pagecache page, zeropage, PFN, ...), not just anonymous pages. Let's prepare for that by handling shared mappings first such that we can handle private mappings last.
While at it, use folio-based functions instead of page-based functions where we touch the code either way.
Signed-off-by: David Hildenbrand david@redhat.com
Reviewed-by: Vlastimil Babka vbabka@suse.cz