From 24da1cbff9cfce50868c2dfdcda82a68ac5cb707 Mon Sep 17 00:00:00 2001 From: Rusty Russell Date: Sun, 15 Jul 2007 23:41:46 -0700 Subject: [PATCH] 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-format-patch failed