Page MenuHomeFreeBSD

kern: osd: trash a slot's methods upon deregistration
AcceptedPublic

Authored by kevans on Dec 14 2024, 4:21 AM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Nov 25, 11:20 AM
Unknown Object (File)
Mon, Nov 24, 8:19 PM
Unknown Object (File)
Mon, Nov 17, 10:10 PM
Unknown Object (File)
Nov 1 2025, 1:49 PM
Unknown Object (File)
Oct 27 2025, 8:42 AM
Unknown Object (File)
Oct 26 2025, 5:45 PM
Unknown Object (File)
Oct 14 2025, 12:24 AM
Unknown Object (File)
Oct 13 2025, 5:47 AM
Subscribers

Details

Reviewers
markj
jamie
pjd
imp
Summary

This both lets us quickly identify a slot that's been deallocated while
debugging, and forces us to take a fault if something tries to call one
of the methods anyways somehow with osd_destructors[slot - 1] == NULL.

Diff Detail

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