commit | 3bfa271e46b506b2ceff41e3b258ad2ddeb25bc3 | [log] [tgz] |
---|---|---|
author | Richard Henderson <richard.henderson@linaro.org> | Tue Feb 13 10:40:57 2024 -1000 |
committer | Richard Henderson <richard.henderson@linaro.org> | Thu Feb 29 11:35:37 2024 -1000 |
tree | 69c4a0d41cf82e1e2b183d364a1975e9d82bab82 | |
parent | 2952b642a555207748dd961fcbfdc48f198eebb6 [diff] |
linux-user: Use do_munmap for target_mmap failure For the cases for which the host mmap succeeds, but does not yield the desired address, use do_munmap to restore the reserved_va memory reservation. Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>