> -----Original Message----- > From: Alex Bennée <alex.ben...@linaro.org> > Sent: Friday, July 9, 2021 8:30 AM > To: qemu-devel@nongnu.org > Cc: f...@euphon.net; berra...@redhat.com; f4...@amsat.org; > aurel...@aurel32.net; pbonz...@redhat.com; stefa...@redhat.com; > cr...@redhat.com; c...@braap.org; aa...@os.amperecomputing.com; > kuhn.chen...@huawei.com; robhe...@microsoft.com; > mahmoudabdalgh...@outlook.com; miny...@uci.edu; > ma.mando...@gmail.com; Alex Bennée <alex.ben...@linaro.org>; Taylor > Simpson <tsimp...@quicinc.com> > Subject: [PATCH v3 26/40] tests/tcg: make test-mmap a little less aggressive > > 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.ben...@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: Taylor Simpson <tsimp...@quicinc.com>