Re: [PATCH v2 06/19] PCI: prepare for serializing hotplug operationstriggered by pciehp driver
From: Greg KH
Date: Wed May 02 2012 - 02:42:38 EST
On Fri, Apr 27, 2012 at 11:16:47PM +0800, Jiang Liu wrote:
> From: Jiang Liu <jiang.liu@xxxxxxxxxx>
>
> Split pciehp_wq into two workqueues to avoid possible deadlock issues
> when using PCI hotplug lock to serialize hotplug operations triggered
> by pciehp driver.
Why two workqueues? What is deadlocking? And why name one "power" and
one "event"? What do they now do differently? How are you serializing
events across the workqueues as they can be doing the same thing at the
same time to the same hardware now, right?
What am I missing?
Ick, I said I wasn't going to read anymore, I'm really stopping now.
Sorry, it's like watching a train-wreck, you just can't turn away...
greg k-h
--
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/