commit | 99982beb4d0030470aa761b8b7bc6dc66c39a707 | [log] [tgz] |
---|---|---|
author | Richard Henderson <richard.henderson@linaro.org> | Fri Jul 07 21:40:43 2023 +0100 |
committer | Richard Henderson <richard.henderson@linaro.org> | Sat Jul 15 08:02:32 2023 +0100 |
tree | 7b910f7c5880fe823af2efcdfb90be12c361bdbc | |
parent | 7bdc1acc249ba9cfe1659145d58a96ebc4dbf6e4 [diff] |
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>