Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
random: do not take pool spinlock at boot
Since rand_initialize() is run while interrupts are still off and nothing else is running, we don't need to repeatedly take and release the pool spinlock, especially in the RDSEED loop. Cc: Dominik Brodowski <linux@dominikbrodowski.net> Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
- Loading branch information