Page MenuHomeFreeBSD

random(4): Reorder configuration of random source modules
ClosedPublic

Authored by cem on Aug 17 2019, 7:07 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Apr 3, 10:10 PM
Unknown Object (File)
Fri, Apr 3, 3:40 AM
Unknown Object (File)
Thu, Mar 26, 8:19 PM
Unknown Object (File)
Thu, Mar 26, 7:58 AM
Unknown Object (File)
Tue, Mar 24, 5:52 PM
Unknown Object (File)
Mon, Mar 23, 1:33 AM
Unknown Object (File)
Mar 4 2026, 4:12 AM
Unknown Object (File)
Mar 1 2026, 5:17 AM
Subscribers

Details

Summary

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

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable