vm_map_madvise (9)
Leading comments
Copyright (c) 2003 Bruce M Simpson <bms@spc.org> All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documenta...
NAME
vm_map_madvise - apply advice about use of memory to map entriesSYNOPSIS
In sys/param.h In vm/vm.h In vm/vm_map.h Ft int Fo vm_map_madvise Fa vm_map_t map vm_offset_t start vm_offset_t end int behav FcDESCRIPTION
The Fn vm_map_madvise function applies the flags Fa behav to the entries within Fa map between Fa start and Fa end .Advisories are classified as either those affecting the Vt vm_map_entry structure, or those affecting the underlying objects.
The Fn vm_map_madvise function is used by the madvise(2) system call.