Re: 2.6.24-rc7 lockdep warning when poweroff

From: Peter Zijlstra
Date: Mon Jan 14 2008 - 04:24:19 EST



On Mon, 2008-01-14 at 17:04 +0800, Dave Young wrote:
> Hi,
>
> When I "halt -p", lockdep warnings triggered as following (hand copy):
>
> WARNING : at kernel/lockdep.c: 700 lookup_lock_class()
>
> <snip>
> lock_acquire
> cleanup_workqueue_thread
> workqueue_cpu_callback
> notifier_call_chain
> __raw_notifier_call_chain
> raw_notifier_call_chain
> __cpu_down
> disable_nonboot_cpus
> kernel_power_off
> sys_reboot
> <snip>

My first guess would be a __create_workqueue_key() where a key is
re-used with a different workqueue name.

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