svn commit: r313352 - in head/sys: compat/cloudabi compat/freebsd32 compat/linux vm
John Baldwin
jhb at freebsd.org
Mon Feb 6 23:03:28 UTC 2017
On Monday, February 06, 2017 08:57:12 PM Edward Tomasz Napierala wrote:
> Author: trasz
> Date: Mon Feb 6 20:57:12 2017
> New Revision: 313352
> URL: https://svnweb.freebsd.org/changeset/base/313352
>
> Log:
> Add kern_vm_mmap2(), kern_vm_mprotect(), kern_vm_msync(), kern_vm_munlock(),
> kern_vm_munmap(), and kern_vm_madvise(), and use them in various compats
> instead of their sys_*() counterparts.
>
> Reviewed by: ed, dchagin, kib
> MFC after: 2 weeks
> Sponsored by: DARPA, AFRL
> Differential Revision: https://reviews.freebsd.org/D9378
I know kib@ suggested kern_vm_<foo> instead of the vm_<foo> you had suggested,
but just kern_<foo> would be more consistent. That is what we have done with
every other system call. (e.g. there isn't kern_socket_bind, kern_socket_listen,
etc., but just kern_bind() and kern_listen()).
--
John Baldwin
More information about the svn-src-all
mailing list