summary refs log tree commit diff stats
path: root/bsd-user/mmap.c
diff options
context:
space:
mode:
authorRichard Henderson <richard.henderson@linaro.org>2023-07-07 21:40:43 +0100
committerRichard Henderson <richard.henderson@linaro.org>2023-07-15 08:02:32 +0100
commit99982beb4d0030470aa761b8b7bc6dc66c39a707 (patch)
tree7b910f7c5880fe823af2efcdfb90be12c361bdbc /bsd-user/mmap.c
parent7bdc1acc249ba9cfe1659145d58a96ebc4dbf6e4 (diff)
downloadfocaccia-qemu-99982beb4d0030470aa761b8b7bc6dc66c39a707.tar.gz
focaccia-qemu-99982beb4d0030470aa761b8b7bc6dc66c39a707.zip
linux-user: Rewrite mmap_frag
Use 'last' variables instead of 'end' variables.
Always zero MAP_ANONYMOUS fragments, which we previously
failed to do if they were not writable; early exit in case
we allocate a new page from the kernel, known zeros.

Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20230707204054.8792-16-richard.henderson@linaro.org>
Diffstat (limited to 'bsd-user/mmap.c')
0 files changed, 0 insertions, 0 deletions