diff options
author | 2013-09-10 23:16:17 -0400 | |
---|---|---|
committer | 2013-10-10 14:32:14 -0400 | |
commit | a283b5c459784f9762a74c312b134e9a524f5a5f (patch) | |
tree | 4d95a6686ce716f1ca69a7a23120647b1aa6220d /tools/perf/scripts/python/export-to-postgresql.py | |
parent | random: statically compute poolbitshift, poolbytes, poolbits (diff) | |
download | linux-dev-a283b5c459784f9762a74c312b134e9a524f5a5f.tar.xz linux-dev-a283b5c459784f9762a74c312b134e9a524f5a5f.zip |
random: allow fractional bits to be tracked
Allow fractional bits of entropy to be tracked by scaling the entropy
counter (fixed point). This will be used in a subsequent patch that
accounts for entropy lost due to overwrites.
[ Modified by tytso to fix up a few missing places where the
entropy_count wasn't properly converted from fractional bits to
bits. ]
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
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