diff options
author | 2013-11-29 20:09:37 -0500 | |
---|---|---|
committer | 2014-03-19 22:18:51 -0400 | |
commit | a58aa4edc6d2e779894b1fa95a2f4de157ff3b3b (patch) | |
tree | 9ae4c66ee56c768cdc6370a879154acbccb10133 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | random: simplify accounting logic (diff) | |
download | linux-dev-a58aa4edc6d2e779894b1fa95a2f4de157ff3b3b.tar.xz linux-dev-a58aa4edc6d2e779894b1fa95a2f4de157ff3b3b.zip |
random: forget lock in lockless accounting
The only mutable data accessed here is ->entropy_count, but since
10b3a32d2 ("random: fix accounting race condition") we use cmpxchg to
protect our accesses to ->entropy_count here. Drop the use of the
lock.
Cc: Jiri Kosina <jkosina@suse.cz>
Signed-off-by: Greg Price <price@mit.edu>
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