summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorTheodore Ts'o <tytso@mit.edu>2013-11-03 07:56:17 -0500
committerTheodore Ts'o <tytso@mit.edu>2013-11-03 18:18:49 -0500
commitae9ecd92ddabc250817baa7eb401df3cfbd4c2da (patch)
tree6aeb29fb1d59dcf1d9a3c43252b9ac4834fff177 /tools/perf/scripts/python
parent301f0595c0e788edacc3521c4caa90b4e56ffee1 (diff)
random: don't zap entropy count in rand_initialize()
The rand_initialize() function was being run fairly late in the kernel boot sequence. This was unfortunate, since it zero'ed the entropy counters, thus throwing away credit that was accumulated earlier in the boot sequence, and it also meant that initcall functions run before rand_initialize were using a minimally initialized pool. To fix this, fix init_std_data() to no longer zap the entropy counter; it wasn't necessary, and move rand_initialize() to be an early initcall. Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions