On 10/8/21 2:23 PM, Warner Losh wrote:
From: Kyle Evans<kev...@freebsd.org>

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<kev...@freebsd.org>
Signed-off-by: Warner Losh<i...@bsdimp.com>
---
  bsd-user/mmap.c | 12 ++++++++----
  1 file changed, 8 insertions(+), 4 deletions(-)

Reviewed-by: Richard Henderson <richard.hender...@linaro.org>

r~

Reply via email to