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)
Mon, Jun 22, 6:16 PM
Unknown Object (File)
Thu, Jun 18, 10:06 PM
Unknown Object (File)
Mon, Jun 15, 8:16 PM
Unknown Object (File)
Fri, Jun 12, 9:41 AM
Unknown Object (File)
Mon, Jun 1, 8:22 AM
Unknown Object (File)
Sun, May 31, 1:09 PM
Unknown Object (File)
Fri, May 29, 5:52 AM
Unknown Object (File)
May 13 2026, 8:10 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