]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
modules: de-mutex more symbol lookup paths in the module code
authorRusty Russell <rusty@rustcorp.com.au>
Mon, 14 Jan 2008 08:55:03 +0000 (00:55 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Mon, 14 Jan 2008 16:52:22 +0000 (08:52 -0800)
commitcb2a52052cebe4716e83b9d2e53682ba00f67de6
treedf35653a4ef0123c20df72f1c4355562553e9558
parent1a1b285c24e1468afe82b09330dde5192a6e0013
modules: de-mutex more symbol lookup paths in the module code

Kyle McMartin reports sysrq_timer_list_show() can hit the module mutex
from hard interrupt context.  These paths don't need to though, since we
long ago changed all the module list manipulation to occur via
stop_machine().

Disabling preemption is enough.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Kyle McMartin <kyle@mcmartin.ca>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
kernel/module.c