Re: [PATCH 5/9] driver core: do not always lock parent in shutdown
| 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