qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v3 26/40] tests/tcg: make test-mmap a little less aggressive


From: Richard Henderson
Subject: Re: [PATCH v3 26/40] tests/tcg: make test-mmap a little less aggressive
Date: Fri, 9 Jul 2021 08:04:00 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0

On 7/9/21 7:29 AM, Alex Bennée wrote:
The check_aligned_anonymous_unfixed_mmaps and
check_aligned_anonymous_unfixed_colliding_mmaps do a lot of mmap's and
copying of data. This is especially unfriendly to targets like hexagon
which have quite large pages and need to do sanity checks on each
memory access.

While we are at it clean-up the white space and style issues from the
legacy code. As we no longer do quite so much needless memory access
we can also remove the hexagon timeout hack.

Signed-off-by: Alex Bennée<alex.bennee@linaro.org>

---
v3
   - style and whitespace cleanups, reduce loop even further.
   - remove hexagon timeout hack
---
  tests/tcg/multiarch/test-mmap.c   | 208 +++++++++++++++---------------
  tests/tcg/hexagon/Makefile.target |   9 --
  2 files changed, 104 insertions(+), 113 deletions(-)

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

r~



reply via email to

[Prev in Thread] Current Thread [Next in Thread]