]> git.neil.brown.name Git - history.git/commit
[PATCH] module unload deadlock fix
authorAndrew Morton <akpm@osdl.org>
Sun, 14 Mar 2004 01:05:48 +0000 (17:05 -0800)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Sun, 14 Mar 2004 01:05:48 +0000 (17:05 -0800)
commit3e4ea6c845e3574c5ed2ab8eabf5065cdde52d24
tree2abd94cfe17ba60a8b9e1b7bcb1b34240701869f
parent66b99421d118a5ddd98a72913670b0fcf0a38d45
[PATCH] module unload deadlock fix

From: Rusty Russell <rusty@rustcorp.com.au>

From: Andrea Arcangeli <andrea@suse.de>

We should drop module sem before calling mod->exit, for practical reasons:
too many module exit functions oops or hang, resulting in a permenantly held
module sem, which blocks all module ops including lsmod.
kernel/module.c