diff options
| author | 2013-11-29 20:09:37 -0500 | |
|---|---|---|
| committer | 2014-03-19 22:18:51 -0400 | |
| commit | a58aa4edc6d2e779894b1fa95a2f4de157ff3b3b (patch) | |
| tree | 9ae4c66ee56c768cdc6370a879154acbccb10133 /include/linux | |
| parent | random: simplify accounting logic (diff) | |
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 'include/linux')
0 files changed, 0 insertions, 0 deletions
