diff options
| author | chs <chs@NetBSD.org> | 2017-05-20 07:27:15 +0000 |
|---|---|---|
| committer | chs <chs@NetBSD.org> | 2017-05-20 07:27:15 +0000 |
| commit | 84c96328e2cb291386b0f2fd3b49cda19198e38d (patch) | |
| tree | 664880f0e696dd19064f376552cefc87effc60e5 /sys/modules/lua | |
| parent | 91f6d8b8661620efb533b7052a4669bde9804b45 (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
