summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorTheodore Ts'o <tytso@mit.edu>2014-06-11 06:46:37 +0400
committerTheodore Ts'o <tytso@mit.edu>2014-07-15 12:49:39 +0400
commit91fcb532efe366d79b93a3c8c368b9dca6176a55 (patch)
tree3d2f571973e695ab5334abbaadbcad3a64152188 /tools/perf/scripts/python/export-to-postgresql.py
parent1795cd9b3a91d4b5473c97f491d63892442212ab (diff)
downloadlinux-91fcb532efe366d79b93a3c8c368b9dca6176a55.tar.xz
random: always update the entropy pool under the spinlock
Instead of using lockless techniques introduced in commit 902c098a3663, use spin_trylock to try to grab entropy pool's lock. If we can't get the lock, then just try again on the next interrupt. Based on discussions with George Spelvin. Signed-off-by: Theodore Ts'o <tytso@mit.edu> Cc: George Spelvin <linux@horizon.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions