Re: [PATCH 5/8] mm/gup: add FOLL_UNLOCK

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

 



On 1/23/23 09:58, Jason Gunthorpe wrote:
...
How about, I made a patch to move all the internal FOLL_ flags into
mm/internal.h ?

Yes, after thinking through the internal and external APIs, and the
FOLL_* situation, that sounds like the best overall approach right now,
IMHO.

I also considered whether adding some naming hints on top (suffixes such
as _INTERNAL) might help, but so far, it looks like it would add more
clutter than is justified. Instead, just looking at where the FOLL_*
flag is defined seems like it could be enough. And there aren't *too*
many flags, after all.

thanks,
--
John Hubbard
NVIDIA




[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