From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752071AbdF1WcO (ORCPT ); Wed, 28 Jun 2017 18:32:14 -0400 Received: from mail.kernel.org ([198.145.29.99]:37980 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751723AbdF1Wb7 (ORCPT ); Wed, 28 Jun 2017 18:31:59 -0400 DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 279E522BD5 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=mcgrof@kernel.org From: "Luis R. Rodriguez" To: akpm@linux-foundation.org Cc: jeyu@redhat.com, shuah@kernel.org, rusty@rustcorp.com.au, ebiederm@xmission.com, dmitry.torokhov@gmail.com, acme@redhat.com, josh@joshtriplett.org, martin.wilck@suse.com, mmarek@suse.com, pmladek@suse.com, hare@suse.com, rwright@hpe.com, jeffm@suse.com, DSterba@suse.com, fdmanana@suse.com, neilb@suse.com, linux@roeck-us.net, rgoldwyn@suse.com, subashab@codeaurora.org, xypron.glpk@gmx.de, keescook@chromium.org, atomlin@redhat.com, mbenes@suse.cz, paulmck@linux.vnet.ibm.com, dan.j.williams@intel.com, jpoimboe@redhat.com, davem@davemloft.net, mingo@redhat.com, alan@linux.intel.com, tytso@mit.edu, gregkh@linuxfoundation.org, torvalds@linux-foundation.org, dave@stgolabs.net, linux-kselftest@vger.kernel.org, linux-kernel@vger.kernel.org, "Luis R. Rodriguez" Subject: [PATCH v4 0/3] kmod: help make deterministic Date: Wed, 28 Jun 2017 15:31:52 -0700 Message-Id: <20170628223155.26472-1-mcgrof@kernel.org> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20170526211228.27764-1-mcgrof@kernel.org> References: <20170526211228.27764-1-mcgrof@kernel.org> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Andrew, I'm submitting the last few patches of my kmod series through your tree and as suggested by Jessica I am picking up maintenance on kmod. These last changes can either wait until the next release or can be merged now provided someone reviews the kmod test driver and the merge conflict is addressed with Jessica's tree with the kmod patch she picked up. This v4 moves back again from swait to regular waitqueue as suggested generally by Linus as swait is very specialized [0], and it also drops two patches picked up by Jessica. Jessica picked the following two patches visible on linux-next tag next-20170628 as follows: 165d1cc0074b kmod: reduce atomic operations on kmod_concurrent and simplify 93437353daef module: use list_for_each_entry_rcu() on find_module_all() FWIW, the swait --> wait change proved to just help speed up tests only marginally, even over a spread of tests these results were generally consistent. Figured some peformance folks might be interested in that tidbit, should they wish to go play. With wait: time ./kmod.sh -t 0008 real 0m16.366s user 0m0.883s sys 0m8.916s time ./kmod.sh -t 0009 real 0m50.803s user 0m0.791s sys 0m9.852s With swait: time ./kmod.sh -t 0008 real 0m16.523s user 0m0.879s sys 0m8.977s time ./kmod.sh -t 0009 real 0m51.258s user 0m0.812s sys 0m10.133s If anyone wants these in a git tree you can check out the 20170628-kmod-only branch from my linux-next tree [1], based on next-20170628. If there are any questions or issues please let me know. [0] https://marc.info/?l=linux-kernel&m=149851347228696&w=2 [1] https://git.kernel.org/pub/scm/linux/kernel/git/mcgrof/linux-next.git/log/?h=20170628-kmod-only Luis R. Rodriguez (3): MAINTAINERS: give kmod some maintainer love kmod: add test driver to stress test the module loader kmod: throttle kmod thread limit MAINTAINERS | 9 + kernel/kmod.c | 16 +- lib/Kconfig.debug | 25 + lib/Makefile | 1 + lib/test_kmod.c | 1246 +++++++++++++++++++++++++++++++++ tools/testing/selftests/kmod/Makefile | 11 + tools/testing/selftests/kmod/config | 7 + tools/testing/selftests/kmod/kmod.sh | 615 ++++++++++++++++ 8 files changed, 1921 insertions(+), 9 deletions(-) create mode 100644 lib/test_kmod.c create mode 100644 tools/testing/selftests/kmod/Makefile create mode 100644 tools/testing/selftests/kmod/config create mode 100755 tools/testing/selftests/kmod/kmod.sh -- 2.11.0