Page MenuHomeFreeBSD

EVENTHANDLER.9: EVENTHANDLER_REGISTER never fails
ClosedPublic

Authored by obiwac on Jan 31 2026, 4:27 PM.
Tags
None
Referenced Files
F162634727: D55014.diff
Wed, Jul 15, 7:05 AM
F162634726: D55014.diff
Wed, Jul 15, 7:05 AM
Unknown Object (File)
Sun, Jul 5, 5:34 AM
Unknown Object (File)
Sat, Jul 4, 11:37 AM
Unknown Object (File)
Fri, Jul 3, 8:45 AM
Unknown Object (File)
Jun 6 2026, 7:18 AM
Unknown Object (File)
Jun 6 2026, 4:58 AM
Unknown Object (File)
Jun 5 2026, 8:21 PM
Subscribers

Details

Summary

Since ecdf4409f910 ("Rework the eventhandler locking [...]"),
EVENTHANDLER_REGISTER() can never return NULL.

Sponsored by: The FreeBSD Foundation

Diff Detail

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

Event Timeline

Since ecdf4409f910

Please use a Fixes: trailer for that, it keeps them together for this type of situation is a standardized way. I also have a vague recollection someone built some tooling around it.

zlei added a subscriber: zlei.

LGTM.

Since ecdf4409f910

Please use a Fixes: trailer for that, it keeps them together for this type of situation is a standardized way. I also have a vague recollection someone built some tooling around it.

+1 for that.

This revision is now accepted and ready to land.Feb 2 2026, 11:44 AM

Would appreciate a:
Suggested by: olce
tag line at commit. Thanks!