Re: [PATCH 1/3] userfaultfd: non-cooperative: rename *EVENT_MADVDONTNEED to *EVENT_REMOVE

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

 



On Thursday, January 19, 2017 4:23 PM Mike Rapoport wrote: 
> 
> The UFFD_EVENT_MADVDONTNEED purpose is to notify uffd monitor about removal
> of certain range from address space tracked by userfaultfd.
> Hence, UFFD_EVENT_REMOVE seems to better reflect the operation semantics.
> Respectively, 'madv_dn' field of uffd_msg is renamed to 'remove' and the
> madvise_userfault_dontneed callback is renamed to userfaultfd_remove.
> 
Looks that "no function change" is missing.

> Signed-off-by: Mike Rapoport <rppt@xxxxxxxxxxxxxxxxxx>
> ---
Acked-by: Hillf Danton <hillf.zj@xxxxxxxxxxxxxxx>


--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@xxxxxxxxx.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@xxxxxxxxx";> email@xxxxxxxxx </a>



[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]