Re: [PATCH] lockdep: annotate DECLARE_WAIT_QUEUE_HEAD

From: Marcel Holtmann
Date: Mon Oct 30 2006 - 03:31:49 EST


Hi Peter,

> kernel: INFO: trying to register non-static key.
> kernel: the code is fine but needs lockdep annotation.
> kernel: turning off the locking correctness validator.
> kernel: [<c04051ed>] show_trace_log_lvl+0x58/0x16a
> kernel: [<c04057fa>] show_trace+0xd/0x10
> kernel: [<c0405913>] dump_stack+0x19/0x1b
> kernel: [<c043b1e2>] __lock_acquire+0xf0/0x90d
> kernel: [<c043bf70>] lock_acquire+0x4b/0x6b
> kernel: [<c061472f>] _spin_lock_irqsave+0x22/0x32
> kernel: [<c04363d3>] prepare_to_wait+0x17/0x4b
> kernel: [<f89a24b6>] lpfc_do_work+0xdd/0xcc2 [lpfc]
> kernel: [<c04361b9>] kthread+0xc3/0xf2
> kernel: [<c0402005>] kernel_thread_helper+0x5/0xb
>
> Another case of non-static lockdep keys; duplicate the paradigm set by
> DECLARE_COMPLETION_ONSTACK and introduce DECLARE_WAIT_QUEUE_HEAD_ONSTACK.
>
> Signed-off-by: Peter Zijlstra <a.p.zijlstra@xxxxxxxxx>

for the Bluetooth subsystem part of this patch:

Signed-off-by: Marcel Holtmann <marcel@xxxxxxxxxxxx>

Regards

Marcel


-
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/