Page MenuHomeFreeBSD

random(4): Use ordinary sysctl definitions
ClosedPublic

Authored by cem on Nov 21 2019, 6:34 PM.

Details

Summary

There's no need to dynamically populate them; the SYSCTL_ macros take care
of load/unload appropriately already (and random_harvestq is 'standard' and
cannot be unloaded anyway).

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

cem created this revision.Nov 21 2019, 6:34 PM
delphij accepted this revision.Nov 22 2019, 12:26 AM
delphij added a subscriber: delphij.

Looks reasonable to me.

This revision is now accepted and ready to land.Nov 22 2019, 12:26 AM
markm accepted this revision.Nov 22 2019, 8:04 AM
markm added a subscriber: markm.

Shows how much I know about sysctls :-)

This revision was automatically updated to reflect the committed changes.