Some drivers recursively loads modules by explicit calls to kldload during initialization, which might occur during kldload. PR: 259748
Details
Details
- Reviewers
• hselasky markj - Commits
- rG4f924a786ae0: linker_kldload_busy(): allow recursion
Diff Detail
Diff Detail
- Repository
- rG FreeBSD src repository
- Lint
Lint Skipped - Unit
Tests Skipped
Event Timeline
Comment Actions
The change looks ok, but after re-reading D30456 I wonder if busying should be done in sys_kldload() and sys_kldunload() instead. If the kernel initiates an unload at the "wrong" time then it's a bug in the initiator.