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)
Sat, Nov 1, 1:49 PM
Unknown Object (File)
Mon, Oct 27, 8:42 AM
Unknown Object (File)
Sun, Oct 26, 5:45 PM
Unknown Object (File)
Tue, Oct 14, 12:24 AM
Unknown Object (File)
Mon, Oct 13, 5:47 AM
Unknown Object (File)
Oct 8 2025, 8:43 PM
Unknown Object (File)
Oct 8 2025, 1:47 AM
Unknown Object (File)
Oct 3 2025, 2:19 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