Page MenuHomeFreeBSD

random(4): Reorder configuration of random source modules

Authored by cem on Aug 17 2019, 7:07 PM.



Move fast entropy source registration to the earlier
SI_SUB_RANDOM:SI_ORDER_FOURTH and move random_harvestq_prime after that.
Relocate the registration routines out of the much later randomdev module
and into random_harvestq.

This is necessary for the fast random sources to actually register before we
perform random_harvestq_prime() early in the kernel boot.

No functional change.

Diff Detail

Lint OK
No Unit Test Coverage
Build Status
Buildable 25937
Build 24499: arc lint + arc unit

Event Timeline

cem created this revision.Aug 17 2019, 7:07 PM
delphij accepted this revision.Aug 18 2019, 5:56 AM
This revision is now accepted and ready to land.Aug 18 2019, 5:56 AM
markm accepted this revision.Aug 18 2019, 9:25 AM
This revision was automatically updated to reflect the committed changes.