aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/random.h
diff options
context:
space:
mode:
authorTheodore Ts'o <tytso@mit.edu>2012-07-05 10:21:01 -0400
committerTheodore Ts'o <tytso@mit.edu>2012-07-14 20:17:46 -0400
commite6d4947b12e8ad947add1032dd754803c6004824 (patch)
treecfbfba88cf3dc1ffb01634a6eed68a220d4a13c7 /include/linux/random.h
parentnet: feed /dev/random with the MAC address when registering a device (diff)
downloadlinux-dev-e6d4947b12e8ad947add1032dd754803c6004824.tar.xz
linux-dev-e6d4947b12e8ad947add1032dd754803c6004824.zip
random: use the arch-specific rng in xfer_secondary_pool
If the CPU supports a hardware random number generator, use it in xfer_secondary_pool(), where it will significantly improve things and where we can afford it. Also, remove the use of the arch-specific rng in add_timer_randomness(), since the call is significantly slower than get_cycles(), and we're much better off using it in xfer_secondary_pool() anyway. Signed-off-by: "Theodore Ts'o" <tytso@mit.edu> Cc: stable@vger.kernel.org
Diffstat (limited to 'include/linux/random.h')
0 files changed, 0 insertions, 0 deletions