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
F102744727: D27305.diff
Sat, Nov 16, 3:12 PM
Unknown Object (File)
Wed, Nov 6, 9:58 AM
Unknown Object (File)
Sat, Nov 2, 6:07 PM
Unknown Object (File)
Sun, Oct 27, 6:50 PM
Unknown Object (File)
Sun, Oct 27, 9:08 AM
Unknown Object (File)
Sun, Oct 27, 9:07 AM
Unknown Object (File)
Sun, Oct 27, 9:07 AM
Unknown Object (File)
Sun, Oct 27, 8:55 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