DESCRIPTION
The vm_map_madvise function applies the flags behav to the entries within map between start and end. Advisories are classified as either those affecting the
.Vt vm_map_entry structure, or those affecting the underlying objects.
The vm_map_madvise function is used by the madvise(2) system call.
RETURN VALUES
The vm_map_madvise function returns 0 if successful. If the behav argument was not recognised, KERN_INVALID_ARGUMENT is returned.
SEE ALSO
madvise(2), vm_map(9)
AUTHORS