On Thu, Mar 30, 2023 at 12:07:52PM -0400, Peter Xu wrote:> +int uffd_open(unsigned int flags)> +{> + int uffd = uffd_open_sys(flags);> +> + if (uffd < 0)> + uffd = uffd_open_dev(flags);> +> + return uffd;> +}A (benign) accident when rebasing here.. I'll move this function into"selftests/mm: Add framework for uffd-unit-test" which is its first usage.-- Peter Xu