Re: INFO: possible circular locking dependency at cleanup_workqueue_thread
From: Johannes Berg
Date: Wed May 20 2009 - 02:48:50 EST
On Wed, 2009-05-20 at 11:36 +0800, Ming Lei wrote:
> > Anyway, you can have a deadlock like this:
> >
> > CPU 3 CPU 2 CPU 1
> > suspend/hibernate
> > something:
> > rtnl_lock() device_pm_lock()
> > -> mutex_lock(&dpm_list_mtx)
> >
> > mutex_lock(&dpm_list_mtx)
>
> Would you give a explaination why mutex_lock(&dpm_list_mtx) runs in CPU2
> and depends on rtnl_lock?
Why not? Something is registering a hotplugged netdev.
johannes
Attachment:
signature.asc
Description: This is a digitally signed message part