summaryrefslogtreecommitdiffstats
path: root/linux-user
diff options
context:
space:
mode:
authorKyle Evans2018-11-08 21:39:47 +0100
committerWarner Losh2021-10-18 20:51:38 +0200
commit0fc76b685989d30a32316b17a9c43ba017e114a1 (patch)
tree189b97c7b1f94dbae0b6968d8178989bb13e8a69 /linux-user
parentbsd-user/mmap.c: Don't mmap fd == -1 independently from MAP_ANON flag (diff)
downloadqemu-0fc76b685989d30a32316b17a9c43ba017e114a1.tar.gz
qemu-0fc76b685989d30a32316b17a9c43ba017e114a1.tar.xz
qemu-0fc76b685989d30a32316b17a9c43ba017e114a1.zip
bsd-user/mmap.c: Implement MAP_EXCL, required by jemalloc in head
jemalloc requires a working MAP_EXCL. Ensure that no page is double mapped when specified. In addition, use guest_range_valid_untagged to test for valid ranges of pages rather than an incomplete inlined version of the test that might be wrong. Signed-off-by: Kyle Evans <kevans@FreeBSD.org> Signed-off-by: Warner Losh <imp@bsdimp.com> Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'linux-user')
0 files changed, 0 insertions, 0 deletions