Skip to content

kmod: few simple enhancements

Luis R. Rodriguez lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 23 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6kmod: add dynamic max concurrent thread countDocumentation/admin-guide/kernel-parameters.txt include/linux/kmod.h init/Kconfig +2 more+61 -1611 replies
2/6module: use list_for_each_entry_rcu() on find_module_all()kernel/module.c+1 -11 reply
3/6kmod: provide wrappers for kmod_concurrent inc/deckernel/kmod.c+19 -60 replies
4/6kmod: return -EBUSY if modprobe limit is reachedkernel/kmod.c+1 -10 replies
5/6kmod: preempt on kmod_umh_threads_get()kernel/kmod.c+22 -29 replies
6/6kmod: use simplified rate limit printkkernel/kmod.c+2 -82 replies

Reviews trailers per patch

1 of 6 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchPetr Mladek
SeriesR-b R-b R-b
1/6
2/6
3/6
4/6
5/6
6/6R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/6] kmod: few simple enhancements

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(-)
Signature · 1 line
2.11.0