summaryrefslogtreecommitdiff
path: root/sys/modules/lua
diff options
context:
space:
mode:
authorchs <chs@NetBSD.org>2017-05-20 07:27:15 +0000
committerchs <chs@NetBSD.org>2017-05-20 07:27:15 +0000
commit84c96328e2cb291386b0f2fd3b49cda19198e38d (patch)
tree664880f0e696dd19064f376552cefc87effc60e5 /sys/modules/lua
parent91f6d8b8661620efb533b7052a4669bde9804b45 (diff)
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.
Diffstat (limited to 'sys/modules/lua')
0 files changed, 0 insertions, 0 deletions