[PATCH 0/6] kmod: few simple enhancements

Luis R. Rodriguez
2017-05-19T03:24:51Z

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