Page MenuHomeFreeBSD

EVENTHANDLER.9: EVENTHANDLER_REGISTER never fails
ClosedPublic

Authored by obiwac on Jan 31 2026, 4:27 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Jun 6, 7:18 AM
Unknown Object (File)
Sat, Jun 6, 4:58 AM
Unknown Object (File)
Fri, Jun 5, 8:21 PM
Unknown Object (File)
Thu, Jun 4, 5:00 AM
Unknown Object (File)
May 20 2026, 12:35 AM
Unknown Object (File)
May 18 2026, 3:19 PM
Unknown Object (File)
May 18 2026, 3:13 PM
Unknown Object (File)
May 18 2026, 1:08 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 Not Applicable
Unit
Tests Not Applicable

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!