diff options
author | 2013-11-08 00:14:53 -0500 | |
---|---|---|
committer | 2013-11-08 00:14:53 -0500 | |
commit | dd1f723bf56bd96efc9d90e9e60dc511c79de48f (patch) | |
tree | 3860500165c69c225ccd5121f2ffde93dfbf4f02 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | ext4: remove unreachable code after ext4_can_extents_be_merged() (diff) | |
download | linux-dev-dd1f723bf56bd96efc9d90e9e60dc511c79de48f.tar.xz linux-dev-dd1f723bf56bd96efc9d90e9e60dc511c79de48f.zip |
ext4: use prandom_u32() instead of get_random_bytes()
Many of the uses of get_random_bytes() do not actually need
cryptographically secure random numbers. Replace those uses with a
call to prandom_u32(), which is faster and which doesn't consume
entropy from the /dev/random driver.
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions