Re: [PATCH] call sysrq_timer_list_show from a workqueue

From: Kyle McMartin
Date: Tue Jan 08 2008 - 09:41:42 EST


On Tue, Jan 08, 2008 at 10:28:04PM +1100, Rusty Russell wrote:
> De-mutex more symbol lookup paths in the module code
>
> Kyle McMartin reports sysrq_timer_list_show() can hit the module
> mutex; 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@xxxxxxxxxxxxxxx>
>

ACK that it (obviously) fixes the lock checker spew.

Signed-off-by: Kyle McMartin <kyle@xxxxxxxxxxx>

cheers, Kyle
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/