git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f275411
)
ext4: use prandom_u32() instead of get_random_bytes()
author
Theodore Ts'o
<tytso@mit.edu>
Fri, 8 Nov 2013 05:14:53 +0000
(
00:14
-0500)
committer
Theodore Ts'o
<tytso@mit.edu>
Fri, 8 Nov 2013 05:14:53 +0000
(
00:14
-0500)
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>
No differences found