Re: [PATCH 5/9] driver core: do not always lock parent in shutdown

[email protected]
Newsgroups org.kernel.vger.linux-scsi,org.kernel.vger.linux-pci
Message-ID <[email protected]>
> Don't lock a parent device unless it is needed in device_shutdown. This
> is in preparation for making device shutdown asynchronous, when it will
> be needed to allow children of a common parent to shut down
> simultaneously.
> 
> And only acquire a reference to the parent device if the parent is to be
> locked.
> 
> Signed-off-by: Stuart Hayes <[email protected]>
> Signed-off-by: David Jeffery <[email protected]>
> Signed-off-by: Tarun Sahu <[email protected]>

Sashiko has reviewed this patch and found no issues. It looks great!

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/[email protected]?part=5
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.