Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1457699
| From | Shamir Rabinovitch <shamir.rabinovitch@oracle.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH] device probe: add self triggered delayed work request |
| Date | 2016-08-08 12:50 +0200 |
| Message-ID | <s3Qi5-e1-13@gated-at.bofh.it> (permalink) |
| Organization | linux.* mail to news gateway |
Hi Qing, I suspect there is potential dead-lock with this patch: cpu0 cpu1 driver_deferred_probe_add deferred_probe_work_func ... mutex_unlock(&deferred_probe_mutex) mutex_lock(&deferred_probe_mutex) bus_probe_device(dev) ... device return -EPROBE_DEFER ... driver_deferred_probe_add ... mutex_lock(&deferred_probe_mutex) ... <deadlock!> cancel_delayed_work(&deferred_probe_trigger_work) <work will never end - deadlock!> Please confirm if this scenario is possible. BR, Shamir Rabinovitch
Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll thread
Re: [PATCH] device probe: add self triggered delayed work request Shamir Rabinovitch <shamir.rabinovitch@oracle.com> - 2016-08-08 12:50 +0200
Re: [PATCH] device probe: add self triggered delayed work request Qing Huang <qing.huang@oracle.com> - 2016-08-09 02:10 +0200
Re: [PATCH] device probe: add self triggered delayed work request Shamir Rabinovitch <shamir.rabinovitch@oracle.com> - 2016-08-09 12:20 +0200
Re: [PATCH] device probe: add self triggered delayed work request Qing Huang <qing.huang@oracle.com> - 2016-08-09 23:00 +0200
csiph-web