On 16.07.25 01:31, Andrew Morton wrote:
On Tue, 15 Jul 2025 15:23:41 +0200 David Hildenbrand <da...@redhat.com> wrote:
Based on mm/mm-new. I dropped the CoW PFNMAP changes for now, still
working on a better way to sort all that out cleanly.
Cleanup and unify vm_normal_page_*() handling, also marking the
huge zerofolio as special in the PMD. Add+use vm_normal_page_pud() and
cleanup that XEN vm_ops->find_special_page thingy.
There are plans of using vm_normal_page_*() more widely soon.
Briefly tested on UML (making sure vm_normal_page() still works as expected
without pte_special() support) and on x86-64 with a bunch of tests.
When I was but a wee little bairn, my mother would always tell me
"never merge briefly tested patches when you're at -rc6". But three
weeks in -next should shake things out.
;) There is one arm oddity around pgdp_get() to figure out that a bot
reported on my github branch, so no need to rush.
Let's see how fast that can be resolved.
However the series rejects due to the is_huge_zero_pmd ->
is_huge_zero_pfn changes in Luiz's "mm: introduce snapshot_page() v3"
series, so could we please have a redo against present mm-new?
I'm confused: mm-new *still* contains the patch from Luiz series that
was originally part of the RFC here.
commit 791cb64cd7f8c2314c65d1dd5cb9e05e51c4cd70
Author: David Hildenbrand <da...@redhat.com>
Date: Mon Jul 14 09:16:51 2025 -0400
mm/memory: introduce is_huge_zero_pfn() and use it in vm_normal_page_pmd()
If you want to put this series here before Luiz', you'll have to move that
single patch as well.
But probably this series should be done on top of Luiz work, because Luiz
fixes something.
[that patch was part of the RFC series, but Luiz picked it up for his work, so
I dropped it
from this series and based it on top of current mm-new]
--
Cheers,
David / dhildenb