Re: [PATCH v8 00/23] userfaultfd-wp: Support shmem and hugetlbfs

From: Peter Xu
Date: Tue Apr 05 2022 - 22:54:14 EST


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@xxxxxxxxxx> 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@xxxxxxxxxx> 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,

--
Peter Xu