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)
Fri, Jan 9, 12:39 AM
Unknown Object (File)
Sun, Dec 28, 10:48 AM
Unknown Object (File)
Fri, Dec 19, 12:28 PM
Unknown Object (File)
Tue, Dec 16, 11:11 PM
Unknown Object (File)
Dec 15 2025, 2:21 PM
Unknown Object (File)
Dec 11 2025, 12:36 AM
Unknown Object (File)
Dec 10 2025, 10:40 PM
Unknown Object (File)
Dec 2 2025, 3:13 AM
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