HomeFreeBSD

random(4): Reorder configuration of random source modules

Description

random(4): Reorder configuration of random source modules

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.

(cherry picked from commit 7384206a943be8d6b83e52bf5bfa5fca07e949f5)

Details

Provenance
cemAuthored on Aug 18 2019, 4:04 PM
obrienCommitted on Feb 15 2022, 2:09 AM
Parents
rG35cf9aa65b56: random(4): Remove "EXPERIMENTAL" verbiage from concurrent operation
Branches
Unknown
Tags
Unknown