1
0
Files
linux/drivers
Theodore Ts'o 3ef4cb2d65 random: optimize spinlock use in add_device_randomness()
The add_device_randomness() function calls mix_pool_bytes() twice for
the input pool and the non-blocking pool, for a total of four times.
By using _mix_pool_byte() and taking the spinlock in
add_device_randomness(), we can halve the number of times we need
take each pool's spinlock.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2013-10-10 14:32:17 -04:00
..
2013-08-20 08:38:23 -04:00
2013-07-23 16:01:28 -07:00
2013-08-07 21:57:17 +02:00
2013-07-22 09:34:46 +08:00
2013-07-24 16:36:41 -06:00