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:
ec8f02d
)
random: Mix cputime from each thread that exits to the pool
author
Nick Kossifidis
<mickflemm@gmail.com>
Mon, 17 Dec 2012 03:18:11 +0000
(22:18 -0500)
committer
Theodore Ts'o
<tytso@mit.edu>
Mon, 17 Dec 2012 03:18:11 +0000
(22:18 -0500)
When a thread exits mix it's cputime (userspace + kernelspace) to the entropy pool.
We don't know how "random" this is, so we use add_device_randomness that doesn't mess
with entropy count.
Signed-off-by: Nick Kossifidis <mickflemm@gmail.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
No differences found