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)
Fri, Sep 13, 11:43 PM
Unknown Object (File)
Wed, Sep 4, 10:40 PM
Unknown Object (File)
Aug 18 2024, 4:34 AM
Unknown Object (File)
Aug 16 2024, 9:41 PM
Unknown Object (File)
Aug 12 2024, 2:48 AM
Unknown Object (File)
Aug 6 2024, 10:06 PM
Unknown Object (File)
Aug 6 2024, 8:07 AM
Unknown Object (File)
Jul 3 2024, 12:32 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 Skipped
Unit
Tests Skipped
Build Status
Buildable 34944

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