The lock is already not held while deleting child devices, and the
bus_topo_lock is already held when child devices are created.
Details
Details
- Reviewers
imp
Diff Detail
Diff Detail
- Repository
- rG FreeBSD src repository
- Lint
Lint Skipped - Unit
Tests Skipped - Build Status
Buildable 62808 Build 59692: arc lint + arc unit
Event Timeline
Comment Actions
I can't see a reason to hold the lock in the function, it just calls device_add_child in a loop and is already under the bus_topo_lock. This also does clear up the witness warning I was getting on boot on my X1 Carbon after Warner's original change to use M_WAITOK.
Comment Actions
silly button pushing nisse have gotten into my phone... Didn't mean to request changes.