[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: |
Taylor Simpson |
Subject: |
RE: [PATCH v3 26/40] tests/tcg: make test-mmap a little less aggressive |
Date: |
Sun, 11 Jul 2021 23:59:27 +0000 |
> -----Original Message-----
> From: Alex Bennée <alex.bennee@linaro.org>
> Sent: Friday, July 9, 2021 8:30 AM
> To: qemu-devel@nongnu.org
> Cc: fam@euphon.net; berrange@redhat.com; f4bug@amsat.org;
> aurelien@aurel32.net; pbonzini@redhat.com; stefanha@redhat.com;
> crosa@redhat.com; cota@braap.org; aaron@os.amperecomputing.com;
> kuhn.chenqun@huawei.com; robhenry@microsoft.com;
> mahmoudabdalghany@outlook.com; minyihh@uci.edu;
> ma.mandourr@gmail.com; Alex Bennée <alex.bennee@linaro.org>; Taylor
> Simpson <tsimpson@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.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: Taylor Simpson <tsimpson@quicinc.com>
- [PATCH v3 14/40] tests/docker: fix sorting in package lists, (continued)
- [PATCH v3 14/40] tests/docker: fix sorting in package lists, Alex Bennée, 2021/07/09
- [PATCH v3 11/40] tests/docker: use project specific container registries, Alex Bennée, 2021/07/09
- [PATCH v3 32/40] tcg/plugins: enable by default for most TCG builds, Alex Bennée, 2021/07/09
- [PATCH v3 24/40] tests/vm: update NetBSD to 9.2, Alex Bennée, 2021/07/09
- [PATCH v3 40/40] MAINTAINERS: Added myself as a reviewer for TCG Plugins, Alex Bennée, 2021/07/09
- [PATCH v3 28/40] meson.build: move TCG plugin summary output, Alex Bennée, 2021/07/09
- [PATCH v3 27/40] plugins: fix-up handling of internal hostaddr for 32 bit, Alex Bennée, 2021/07/09
- [PATCH v3 26/40] tests/tcg: make test-mmap a little less aggressive, Alex Bennée, 2021/07/09
- [PATCH v3 22/40] tests/docker: expand ubuntu2004 package list, Alex Bennée, 2021/07/09
- [PATCH v3 20/40] tests/docker: expand fedora package list, Alex Bennée, 2021/07/09
- [PATCH v3 30/40] configure: add an explicit static and plugins check, Alex Bennée, 2021/07/09
- [PATCH v3 29/40] configure: don't allow plugins to be enabled for a non-TCG build, Alex Bennée, 2021/07/09
- [PATCH v3 31/40] configure: stop user enabling plugins on Windows for now, Alex Bennée, 2021/07/09
- [PATCH v3 23/40] tests/docker: expand opensuse-leap package list, Alex Bennée, 2021/07/09
- [PATCH v3 13/40] tests/docker: remove FEATURES env var from templates, Alex Bennée, 2021/07/09
- [PATCH v3 33/40] contrib/plugins: enable -Wall for building plugins, Alex Bennée, 2021/07/09
- [PATCH v3 39/40] docs/devel: Added cache plugin to the plugins docs, Alex Bennée, 2021/07/09