Page MenuHomeFreeBSD

newbus: Add locking around shutdown()
AcceptedPublic

Authored by imp on Nov 10 2025, 10:22 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Jul 22, 7:24 PM
Unknown Object (File)
Tue, Jul 21, 10:35 AM
Unknown Object (File)
Sat, Jul 18, 9:59 PM
Unknown Object (File)
Sat, Jul 4, 1:09 PM
Unknown Object (File)
Sat, Jul 4, 3:29 AM
Unknown Object (File)
Tue, Jun 30, 2:52 AM
Unknown Object (File)
Thu, Jun 25, 10:35 PM
Unknown Object (File)
Jun 22 2026, 6:16 PM
Subscribers

Details

Reviewers
jhb
markj
Summary

Pick up the bus_topo_lock() around call to device_shutdown and assert
that it's held in device_shutdown(). Normally, this path picks up Giant,
which is the current topo lock, so this should be a nop, but will become
a functional change when we move to a recursive lock that's not Giant.

Sponsored by: Netflix

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 68523
Build 65406: arc lint + arc unit