diff options
author | Theodore Ts'o <tytso@mit.edu> | 2014-06-10 22:46:37 -0400 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2014-07-15 04:49:39 -0400 |
commit | 91fcb532efe366d79b93a3c8c368b9dca6176a55 (patch) | |
tree | 3d2f571973e695ab5334abbaadbcad3a64152188 /sound | |
parent | 1795cd9b3a91d4b5473c97f491d63892442212ab (diff) | |
download | linux-91fcb532efe366d79b93a3c8c368b9dca6176a55.tar.bz2 |
random: always update the entropy pool under the spinlock
Instead of using lockless techniques introduced in commit
902c098a3663, use spin_trylock to try to grab entropy pool's lock. If
we can't get the lock, then just try again on the next interrupt.
Based on discussions with George Spelvin.
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Cc: George Spelvin <linux@horizon.com>
Diffstat (limited to 'sound')
0 files changed, 0 insertions, 0 deletions