From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756123AbdESDYv (ORCPT ); Thu, 18 May 2017 23:24:51 -0400 Received: from mail.kernel.org ([198.145.29.99]:47540 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754392AbdESDYs (ORCPT ); Thu, 18 May 2017 23:24:48 -0400 DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 2225923986 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: shuah@kernel.org, jeyu@redhat.com, rusty@rustcorp.com.au, ebiederm@xmission.com, dmitry.torokhov@gmail.com, acme@redhat.com, corbet@lwn.net Cc: 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, akpm@linux-foundation.org, torvalds@linux-foundation.org, gregkh@linuxfoundation.org, linux-kselftest@vger.kernel.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, "Luis R. Rodriguez" Subject: [PATCH 0/6] kmod: few simple enhancements Date: Thu, 18 May 2017 20:24:38 -0700 Message-Id: <20170519032444.18416-1-mcgrof@kernel.org> X-Mailer: git-send-email 2.11.0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org I've been working on making module loading more deterministic, these are some of the more straight forward changes I've come up with so far. The others depend on some further sysctl changes so I'll wait to introduce those, and also on a new kmod stress driver loader, which I'll also hold off on introducing. I believe these are pretty straight forward, but please let me know if there are any questions. In this re-spin I've dropped the kref / refcount proposals given its just overkill for what we need here. Luis R. Rodriguez (6): kmod: add dynamic max concurrent thread count module: use list_for_each_entry_rcu() on find_module_all() kmod: provide wrappers for kmod_concurrent inc/dec kmod: return -EBUSY if modprobe limit is reached kmod: preempt on kmod_umh_threads_get() kmod: use simplified rate limit printk Documentation/admin-guide/kernel-parameters.txt | 7 ++ include/linux/kmod.h | 3 +- init/Kconfig | 23 ++++++ init/main.c | 1 + kernel/kmod.c | 98 +++++++++++++++++-------- kernel/module.c | 2 +- 6 files changed, 103 insertions(+), 31 deletions(-) -- 2.11.0