Module Name: src Committed By: chs Date: Sat May 20 07:27:15 UTC 2017
Modified Files: src/share/man/man9: uvm_map.9 src/sys/uvm: uvm_extern.h uvm_map.c uvm_mmap.c Log Message: MAP_FIXED means something different for mremap() than it does for mmap(), so we cannot use UVM_FLAG_FIXED to specify both behaviors. keep UVM_FLAG_FIXED with its earlier meaning (prior to my previous change) of whether to use uvm_map_findspace() to locate space for the new mapping or to use the hint address that the caller passed in, and add a new flag UVM_FLAG_UNMAP to indicate that any existing entries in the range should be unmapped as part of creating the new mapping. the new UVM_FLAG_UNMAP flag may only be used if UVM_FLAG_FIXED is also specified. To generate a diff of this commit: cvs rdiff -u -r1.8 -r1.9 src/share/man/man9/uvm_map.9 cvs rdiff -u -r1.205 -r1.206 src/sys/uvm/uvm_extern.h cvs rdiff -u -r1.348 -r1.349 src/sys/uvm/uvm_map.c cvs rdiff -u -r1.165 -r1.166 src/sys/uvm/uvm_mmap.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.