On Wed, Nov 24, 2021 at 11:10 AM Joao Martins <joao.m.martins@xxxxxxxxxx> wrote: > > Changes since v5[9]: > > * Keep @dev on the previous line to improve readability on > patch 5 (Christoph Hellwig) > * Document is_static() function to clarify what are static and > dynamic dax regions in patch 7 (Christoph Hellwig) > * Deduce @f_mapping and @pgmap from vmf->vma->vm_file to reduce > the number of arguments of set_{page,compound}_mapping() in last > patch (Christoph Hellwig) > * Factor out @mapping initialization to a separate helper ([new] patch 8) > and rename set_page_mapping() to dax_set_mapping() in the process. > * Remove set_compound_mapping() and instead adjust dax_set_mapping() > to handle @vmemmap_shift case on the last patch. This greatly > simplifies the last patch, and addresses a similar comment by Christoph > on having an earlier return. No functional change on the changes > to dax_set_mapping compared to its earlier version so I retained > Dan's Rb on last patch. > * Initialize the mapping prior to inserting the PTE/PMD/PUD as opposed > to after the fact. ([new] patch 9, Jason Gunthorpe) > Looks good Joao, I was about to ping Christoph and Jason to make sure their review comments are fully addressed before pulling this into my dax tree, but I see Andrew has already picked this up. I'm ok for this to go through -mm. It might end up colliding with some of the DAX cleanups that are brewing, but if that happens I might apply them to resolve conflicts and ask Andrew to drop them out of -mm. We can cross that bridge later. Thanks for all the effort on this Joao, it's a welcome improvement.