Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1760186AbcLBBXT (ORCPT ); Thu, 1 Dec 2016 20:23:19 -0500 Received: from resqmta-po-09v.sys.comcast.net ([96.114.154.168]:45632 "EHLO resqmta-po-09v.sys.comcast.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758725AbcLBBXR (ORCPT ); Thu, 1 Dec 2016 20:23:17 -0500 Reply-To: shuah@kernel.org Subject: Re: [PATCH v2 0/7] Tests for sync infrastructure References: <20160921211205.22657-1-emilio.lopez@collabora.co.uk> <20161019124954.29232-1-emilio.lopez@collabora.co.uk> To: =?UTF-8?Q?Emilio_L=c3=b3pez?= Cc: devel@driverdev.osuosl.org, gustavo.padovan@collabora.co.uk, riandrews@android.com, daniel.vetter@ffwll.ch, John.C.Harrison@Intel.com, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, ghackmann@google.com, robdclark@gmail.com, linux-kselftest@vger.kernel.org, maarten.lankhorst@linux.intel.com, daniels@collabora.com, arve@android.com, emil.l.velikov@gmail.com, mpe@ellerman.id.au, Shuah Khan , Shuah Khan From: Shuah Khan Message-ID: <39b7b048-e8fb-87d3-6663-53a6ec82b5d9@kernel.org> Date: Thu, 1 Dec 2016 18:17:48 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0 MIME-Version: 1.0 In-Reply-To: <20161019124954.29232-1-emilio.lopez@collabora.co.uk> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-CMAE-Envelope: MS4wfKXb/LLVTeWDbvVpftTEBkYPdMWp5TgDmdIgRf/CvBcKZ+8UHbZOtnq1IJzRIvpauxU2SFoVAI4K7aHknPFZ5OIgAiGxuEuonkCgM0wJzDB7pyB0tap+ 6fHeTcjVfDbS6QHgXaehJyEWoWMgYZB/K7A2qX/tbyQFd1DsluiGGis1AZ3XuKqeX1K5tlTk2D1C02S30rPe+kRyw83TL7B1rzsd+EkxZ/qG2tWQgkPQT4fz yVpCwuZuFgDI+suhS9nIeX7kapg2eElTOKUUc7MezISjXFgi+DxJqO5SSfCem6Dy+yxGRda5jOHQZuUo7CLhULazBaNsmlWFIBJfm60xd2wWng5SeN+Ngt1E Ec2Ql1lHtP3kfRYEp4PWVIhrU3UHK/NbfTjzJHH43KYWr17BWmvEdLhbMc8dkresWANkuQ9BOsYxXkugWkWZ10MfMbRjeMjGv/tooHQ3rh/5e34qAuE4QLWI QORSwBCwmybp1ZXiWaR4e3DaqKSevRHuKGHw7U+dZr0nE8RXpSB1BgQRNG7l9ba+2sgFNjya8KJ3V1i2Tt7uoES0odUKFiWf8SIA4k9mMYyVQqvyW/Dr8shx T/w+HPMYKhSlcv+OL5KdnCg/rabOJBgXXzDhT4qb6JEVBpDMNIv8xARtWKGDsBSsMy5CcEDVFvwraCsA/bAzUYUi60hgO7YQuBZc3UmUilU+9hm/1HEKonHm nsbZZIollvFzUZ6fpRukj4z3vK/Ywfv292Zx6RFPQtt8lPSq7mLuhYOZhEZ+G3kLM1d1lLHIB7h1YbBwW+B/0e4XEmWV+0iFY+ezTlGAGNqcWcKtMdsVpA== Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 3183 Lines: 68 On 10/19/2016 06:49 AM, Emilio López wrote: > Hello everyone, > > This is a series of tests to exercise the sync kernel infrastructure. It is > meant to be a test suite for the work Gustavo has been doing to destage it. > > These tests were originally part of a battery of tests shipping with > Android's libsync that were rewritten to use the new userspace interfaces. > > This is the second iteration of the test suite. Main changes over v1 are > a reworked Makefile and small code style fixes. > > If you are testing this on v4.9-rc1, do note that the last test will > currently fail due to a regression[0]. Hi Emilio, Thanks. I will apply these to linux-kselftest next for 4.10-rc1 -- Shuah > > As usual, all comments are welcome. > > Cheers! > Emilio > > [0] https://patchwork.kernel.org/patch/9343347/ > > Emilio López (7): > selftest: sync: basic tests for sw_sync framework > selftest: sync: fence tests for sw_sync framework > selftest: sync: merge tests for sw_sync framework > selftest: sync: wait tests for sw_sync framework > selftest: sync: stress test for parallelism > selftest: sync: stress consumer/producer test > selftest: sync: stress test for merges > > tools/testing/selftests/Makefile | 1 + > tools/testing/selftests/sync/.gitignore | 1 + > tools/testing/selftests/sync/Makefile | 24 +++ > tools/testing/selftests/sync/sw_sync.h | 46 +++++ > tools/testing/selftests/sync/sync.c | 221 +++++++++++++++++++++ > tools/testing/selftests/sync/sync.h | 40 ++++ > tools/testing/selftests/sync/sync_alloc.c | 74 +++++++ > tools/testing/selftests/sync/sync_fence.c | 132 ++++++++++++ > tools/testing/selftests/sync/sync_merge.c | 60 ++++++ > .../testing/selftests/sync/sync_stress_consumer.c | 185 +++++++++++++++++ > tools/testing/selftests/sync/sync_stress_merge.c | 115 +++++++++++ > .../selftests/sync/sync_stress_parallelism.c | 111 +++++++++++ > tools/testing/selftests/sync/sync_test.c | 79 ++++++++ > tools/testing/selftests/sync/sync_wait.c | 91 +++++++++ > tools/testing/selftests/sync/synctest.h | 66 ++++++ > 15 files changed, 1246 insertions(+) > create mode 100644 tools/testing/selftests/sync/.gitignore > create mode 100644 tools/testing/selftests/sync/Makefile > create mode 100644 tools/testing/selftests/sync/sw_sync.h > create mode 100644 tools/testing/selftests/sync/sync.c > create mode 100644 tools/testing/selftests/sync/sync.h > create mode 100644 tools/testing/selftests/sync/sync_alloc.c > create mode 100644 tools/testing/selftests/sync/sync_fence.c > create mode 100644 tools/testing/selftests/sync/sync_merge.c > create mode 100644 tools/testing/selftests/sync/sync_stress_consumer.c > create mode 100644 tools/testing/selftests/sync/sync_stress_merge.c > create mode 100644 tools/testing/selftests/sync/sync_stress_parallelism.c > create mode 100644 tools/testing/selftests/sync/sync_test.c > create mode 100644 tools/testing/selftests/sync/sync_wait.c > create mode 100644 tools/testing/selftests/sync/synctest.h >