On 04.02.25 23:48, Alistair Popple wrote:
Currently DAX folio/page reference counts are managed differently to
normal pages. To allow these to be managed the same as normal pages
introduce vmf_insert_folio_pud. This will map the entire PUD-sized folio
and take references as it would for a normally mapped page.
This is distinct from the current mechanism, vmf_insert_pfn_pud, which
simply inserts a special devmap PUD entry into the page table without
holding a reference to the page for the mapping.
Signed-off-by: Alistair Popple <apop...@nvidia.com>
Reviewed-by: Dan Williams <dan.j.willi...@intel.com>
Nit: patch subject should start with "mm/huge_memory:"
Acked-by: David Hildenbrand <da...@redhat.com>
--
Cheers,
David / dhildenb