Re: [PATCH] random: fix CRNG initialization when random.trust_cpu=1

2019-04-19 Thread Theodore Ts'o
On Tue, Mar 19, 2019 at 01:28:47PM -0400, Jon DeVree wrote: > When the system boots with random.trust_cpu=1 it doesn't initialize the > per-NUMA CRNGs because it skips the rest of the CRNG startup code. This > means that the code from 1e7f583af67b ("random: make /dev/urandom scalable > for silly us

[PATCH] random: fix CRNG initialization when random.trust_cpu=1

2019-03-19 Thread Jon DeVree
When the system boots with random.trust_cpu=1 it doesn't initialize the per-NUMA CRNGs because it skips the rest of the CRNG startup code. This means that the code from 1e7f583af67b ("random: make /dev/urandom scalable for silly userspace programs") is not used when random.trust_cpu=1. crash> dmes