Skip to content

kernel/module.c locking changes

Rusty Russell lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 45 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2module: make locking more fine-grained.kernel/module.c+36 -212 replies
2/2module: fix bne2 "gave up waiting for init of module libcrc32c"kernel/module.c+59 -3251 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] kernel/module.c locking changes

In response to Linus' almost-rational dislike of the lock-drop-and-regrab patch, I've dug out and updated the fine-grained locking patch for module.c. Simple testing here seems to work, and it might have a good effect on boot times too (its original target).

Pull request for those who find that easier:

The following changes since commit 67a3e12b05e055c0415c556a315a3d3eb637e29e:
Linus Torvalds (1):

        Linux 2.6.35-rc1

are available in the git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/rusty/linux-2.6.git modules

Rusty Russell (3):
module: fix reference to mod->percpu after freeing module.
module: make locking more fine-grained.
module: fix bne2 "gave up waiting for init of module libcrc32c"

 kernel/module.c |  151 +++++++++++++++++++++++++++++++++++-------------------
 1 files changed, 98 insertions(+), 53 deletions(-)