Re: [PATCH v3 0/1] multi-threading device shutdown

2018-05-14 Thread Pavel Tatashin
On 05/14/2018 11:03 AM, Greg KH wrote: > On Mon, May 07, 2018 at 11:54:01AM -0400, Pavel Tatashin wrote: >> Changelog >> v2 - v3 >> - Fixed warning from kbuild test. >> - Moved device_lock/device_unlock inside device_shutdown_tree(). >> >> v1 - v2 >> - It turns out we cannot lock mor

Re: [PATCH v3 0/1] multi-threading device shutdown

2018-05-14 Thread Greg KH
On Mon, May 07, 2018 at 11:54:01AM -0400, Pavel Tatashin wrote: > Changelog > v2 - v3 > - Fixed warning from kbuild test. > - Moved device_lock/device_unlock inside device_shutdown_tree(). > > v1 - v2 > - It turns out we cannot lock more than MAX_LOCK_DEPTH by a single >

[PATCH v3 0/1] multi-threading device shutdown

2018-05-07 Thread Pavel Tatashin
Changelog v2 - v3 - Fixed warning from kbuild test. - Moved device_lock/device_unlock inside device_shutdown_tree(). v1 - v2 - It turns out we cannot lock more than MAX_LOCK_DEPTH by a single thread. (By default this value is 48), and is used to detect d