Page MenuHomeFreeBSD

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

Authored by kib on Sat, Nov 21, 11:04 AM.

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
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

kib requested review of this revision.Sat, Nov 21, 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.Sat, Nov 21, 1:14 PM