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
F132488778: D21308.id60953.diff
Fri, Oct 17, 8:33 AM
Unknown Object (File)
Fri, Sep 19, 10:50 PM
Unknown Object (File)
Sep 4 2025, 7:56 AM
Unknown Object (File)
Aug 27 2025, 2:28 AM
Unknown Object (File)
Aug 27 2025, 2:03 AM
Unknown Object (File)
Aug 27 2025, 12:52 AM
Unknown Object (File)
Aug 27 2025, 12:31 AM
Unknown Object (File)
Aug 25 2025, 2:30 PM
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