lockdep vs rmmod loop

From: Alexey Dobriyan
Date: Mon Oct 13 2008 - 13:54:50 EST


This exists for quite some time, IIRC.

# rmmod loop

INFO: trying to register non-static key.
the code is fine but needs lockdep annotation.
turning off the locking correctness validator.
Pid: 26915, comm: rmmod Not tainted 2.6.27-4480f15b3306f43bbb0310d461142b4e897ca45b #2
Call Trace:
[<ffffffff80253fcc>] ? static_obj+0x8c/0xa0
[<ffffffff80258a3d>] __lock_acquire+0x55d/0x9a0
[<ffffffff80258ed8>] lock_acquire+0x58/0x80
[<ffffffff80244755>] ? __cancel_work_timer+0x55/0x210
[<ffffffff80244789>] __cancel_work_timer+0x89/0x210
[<ffffffff80244755>] ? __cancel_work_timer+0x55/0x210
[<ffffffff80256dad>] ? trace_hardirqs_on+0xd/0x10
[<ffffffff80256d19>] ? trace_hardirqs_on_caller+0xc9/0x150
[<ffffffff80256dad>] ? trace_hardirqs_on+0xd/0x10
[<ffffffff80422482>] ? _spin_unlock_irqrestore+0x42/0x80
[<ffffffff8023ce04>] ? try_to_del_timer_sync+0x44/0x90
[<ffffffff8024492b>] cancel_work_sync+0xb/0x10
[<ffffffff802fadb9>] kblockd_flush_work+0x9/0x10
[<ffffffff802fc6a7>] blk_sync_queue+0x27/0x30
[<ffffffff802fc6d1>] blk_cleanup_queue+0x21/0x60
[<ffffffffa00820c8>] loop_free+0x18/0x40 [loop]
[<ffffffffa008429b>] loop_exit+0x7b/0xc1 [loop]
[<ffffffff8025fd67>] sys_delete_module+0x147/0x220
[<ffffffff80256d19>] ? trace_hardirqs_on_caller+0xc9/0x150
[<ffffffff804219a7>] ? trace_hardirqs_on_thunk+0x3a/0x3f
[<ffffffff8020b64b>] system_call_fastpath+0x16/0x1b
--
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/