Re: [PATCH 1/4] mm: Introduce vm_uffd_ops API
From: Peter Xu
Date: Mon Jun 23 2025 - 09:42:50 EST
On Sun, Jun 22, 2025 at 10:28:04AM +0300, Mike Rapoport wrote:
> > +} vm_uffd_ops;
> > +#endif
>
> Can't we define vm_uffd_ops in userfaultfd_k.h?
>
> A forward declaration in mm.h should suffice and modules that want to use
> uffd can include userfaultfd_k.h.
Good point, I'll do that, thanks!
--
Peter Xu