diff options
author | Rusty Russell <rusty@rustcorp.com.au> | 2007-07-16 02:41:46 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-07-16 12:05:51 -0400 |
commit | 24da1cbff9cfce50868c2dfdcda82a68ac5cb707 (patch) | |
tree | 93f0e1f0f464d62b73b14fba4a2ab9216acdc924 /kernel/relay.c | |
parent | 6c675bd43ccc36927c855d53d2e0042cdd1074ab (diff) |
modules: remove modlist_lock
Now we always use stop_machine for module insertion or deletion, we no
longer need the modlist_lock: merely disabling preemption is sufficient to
block against list manipulation. This avoids deadlock on OOPSen where we
can potentially grab the lock twice.
Bug: 8695
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Tobias Oed <tobiasoed@hotmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'kernel/relay.c')
0 files changed, 0 insertions, 0 deletions