Message ID | 20220405014646.13522-1-peterx@redhat.com (mailing list archive) |
---|---|
Headers | show |
Series | userfaultfd-wp: Support shmem and hugetlbfs | expand |
On Mon, 4 Apr 2022 21:46:23 -0400 Peter Xu <peterx@redhat.com> wrote: > This is v8 of the series to add shmem+hugetlbfs support for userfaultfd > write protection. Various compilation catastrophes with x86_64 allnoconfig. I poked at the include ordering for a while but other things quickly became more attractive ;)
On Tue, Apr 05, 2022 at 03:16:16PM -0700, Andrew Morton wrote: > On Mon, 4 Apr 2022 21:46:23 -0400 Peter Xu <peterx@redhat.com> wrote: > > > This is v8 of the series to add shmem+hugetlbfs support for userfaultfd > > write protection. > > Various compilation catastrophes with x86_64 allnoconfig. I poked at > the include ordering for a while but other things quickly became more > attractive ;) Sorry about that. I still don't know what's the problem, but I'll give it a shot soon. I think I only tried out with the new configs but not all the rest configs. I thought there're some bot looking after that one, from which I used to receive build reports. And IIRC I fixed some build issues in early versions from those reports. Maybe I was wrong.. Any more hints on the latter? Thanks,
On Tue, 5 Apr 2022 18:42:43 -0400 Peter Xu <peterx@redhat.com> wrote: > On Tue, Apr 05, 2022 at 03:16:16PM -0700, Andrew Morton wrote: > > On Mon, 4 Apr 2022 21:46:23 -0400 Peter Xu <peterx@redhat.com> wrote: > > > > > This is v8 of the series to add shmem+hugetlbfs support for userfaultfd > > > write protection. > > > > Various compilation catastrophes with x86_64 allnoconfig. I poked at > > the include ordering for a while but other things quickly became more > > attractive ;) > > Sorry about that. I still don't know what's the problem, but I'll give it > a shot soon. > > I think I only tried out with the new configs but not all the rest configs. > I thought there're some bot looking after that one, from which I used to > receive build reports. And IIRC I fixed some build issues in early versions > from those reports. Maybe I was wrong.. > > Any more hints on the latter? `make allnoconfig'?
On Tue, Apr 05, 2022 at 03:49:12PM -0700, Andrew Morton wrote: > On Tue, 5 Apr 2022 18:42:43 -0400 Peter Xu <peterx@redhat.com> wrote: > > > On Tue, Apr 05, 2022 at 03:16:16PM -0700, Andrew Morton wrote: > > > On Mon, 4 Apr 2022 21:46:23 -0400 Peter Xu <peterx@redhat.com> wrote: > > > > > > > This is v8 of the series to add shmem+hugetlbfs support for userfaultfd > > > > write protection. > > > > > > Various compilation catastrophes with x86_64 allnoconfig. I poked at > > > the include ordering for a while but other things quickly became more > > > attractive ;) > > > > Sorry about that. I still don't know what's the problem, but I'll give it > > a shot soon. > > > > I think I only tried out with the new configs but not all the rest configs. > > I thought there're some bot looking after that one, from which I used to > > receive build reports. And IIRC I fixed some build issues in early versions > > from those reports. Maybe I was wrong.. > > > > Any more hints on the latter? > > `make allnoconfig'? > Ah! I thought when you mentioned "other things" you meant there're other more severe issues... :) For the allnoconfig, could you try with the attached quick fixup (upon patch "mm/uffd: PTE_MARKER_UFFD_WP")? That works for me on x86/arm, but I'm still trying out some other configs. Thanks,
On Tue, 5 Apr 2022 19:02:32 -0400 Peter Xu <peterx@redhat.com> wrote: > For the allnoconfig, could you try with the attached quick fixup (upon > patch "mm/uffd: PTE_MARKER_UFFD_WP")? Works for me, thanks.
On Mon, 4 Apr 2022 21:46:23 -0400 Peter Xu <peterx@redhat.com> wrote: > This is v8 of the series to add shmem+hugetlbfs support for userfaultfd > write protection. I think we've finished tossing this patchset around, so I plan to feed it into mm-stable later this week. A few -fixes were added: https://git.kernel.org/pub/scm/linux/kernel/git/akpm/25-new.git/tree/patches/mm-introduce-pte_marker-swap-entry-fix.patch https://git.kernel.org/pub/scm/linux/kernel/git/akpm/25-new.git/tree/patches/mm-teach-core-mm-about-pte-markers-fix.patch https://git.kernel.org/pub/scm/linux/kernel/git/akpm/25-new.git/tree/patches/mm-check-against-orig_pte-for-finish_fault-fix.patch https://git.kernel.org/pub/scm/linux/kernel/git/akpm/25-new.git/tree/patches/mm-check-against-orig_pte-for-finish_fault-fix-checkpatch-fixes.patch https://git.kernel.org/pub/scm/linux/kernel/git/akpm/25-new.git/tree/patches/mm-uffd-pte_marker_uffd_wp-fix.patch https://git.kernel.org/pub/scm/linux/kernel/git/akpm/25-new.git/tree/patches/mm-hugetlb-only-drop-uffd-wp-special-pte-if-required-fix.patch https://git.kernel.org/pub/scm/linux/kernel/git/akpm/25-new.git/tree/patches/mm-hugetlb-only-drop-uffd-wp-special-pte-if-required-fix-fix.patch https://git.kernel.org/pub/scm/linux/kernel/git/akpm/25-new.git/tree/patches/mm-shmem-handle-uffd-wp-during-fork-fix.patch https://git.kernel.org/pub/scm/linux/kernel/git/akpm/25-new.git/tree/patches/mm-enable-pte-markers-by-default-fix.patch