From: Rusty Russell Date: Mon, 16 Jul 2007 06:41:46 +0000 (-0700) Subject: modules: remove modlist_lock X-Git-Tag: v2.6.23-rc1~810 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=24da1cbff9cfce50868c2dfdcda82a68ac5cb707;p=pandora-kernel.git 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 Cc: Ingo Molnar Cc: Tobias Oed Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed