Re: [PATCH 10/29] selftests/mm: Test UFFDIO_ZEROPAGE only when !hugetlb

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Apr 07, 2023 at 12:42:29PM +0300, Mike Rapoport wrote:
> > +/*
> > + * Registers a range with MISSING mode only for zeropage test.  Return true
> > + * if UFFDIO_ZEROPAGE supported, false otherwise. Can't use uffd_register()
> > + * because we want to detect .ioctls along the way.
> > + */
> > +static bool
> > +uffd_register_detect_zp(int uffd, void *addr, uint64_t len)
> 
> Let's spell out 'zp' as zeropage, what do you say?

Definitely can do. :)

Thanks,

-- 
Peter Xu





[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux