Page MenuHomeFreeBSD

Stop using eventhandlers for itimers subsystem exec and exit hooks.
ClosedPublic

Authored by kib on Nov 21 2020, 11:04 AM.
Tags
None
Referenced Files
Unknown Object (File)
Feb 19 2024, 7:12 PM
Unknown Object (File)
Dec 21 2023, 10:54 PM
Unknown Object (File)
Dec 20 2023, 7:29 AM
Unknown Object (File)
Nov 20 2023, 11:48 AM
Unknown Object (File)
Oct 25 2023, 8:34 AM
Unknown Object (File)
Oct 22 2023, 4:59 PM
Unknown Object (File)
Oct 19 2023, 10:23 AM
Unknown Object (File)
Oct 12 2023, 12:54 AM
Subscribers

Details

Summary

While there, do some minor cleanup for kclocks. They are only registered from kern_time.c, make registration function static. Remove event hooks, they are not used by both registered kclocks. Add some consts.

Perhaps we can stop registering kclocks at all and statically initialize them.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

kib requested review of this revision.Nov 21 2020, 11:04 AM

General note for changes of the sort is that perhaps given the 'priority' things it would be best to execute these *after* eventhandlers.

This revision is now accepted and ready to land.Nov 21 2020, 1:14 PM